Ajax JSON data not being injected into table
Ajax JSON data not being injected into table
nickyyo
Posts: 4Questions: 0Answers: 0
I have the data, but its not appearing in the table..
Is this the correct way of getting the data in there?
"dataType": 'json',
"contentType": "application/json; charset=utf-8",
"type": "GET",
"url": sSource,
"data": aoData,
"success":
function (msg) {
var aaData = { "aaData": msg};
fnCallback([{ "Id": 1, "OrganisationId": 1, "ClientName": "Carol Lewis", "Email": "carol@carol.com" }]);
}
});
Is this the correct way of getting the data in there?
"dataType": 'json',
"contentType": "application/json; charset=utf-8",
"type": "GET",
"url": sSource,
"data": aoData,
"success":
function (msg) {
var aaData = { "aaData": msg};
fnCallback([{ "Id": 1, "OrganisationId": 1, "ClientName": "Carol Lewis", "Email": "carol@carol.com" }]);
}
});
This discussion has been closed.
Replies
That may or may not be correct depending on other configuration options such as sAjaxDataProp .
Allan