Ajax JSON data not being injected into table

Ajax JSON data not being injected into table

nickyyonickyyo Posts: 4Questions: 0Answers: 0
edited November 2013 in DataTables 1.9
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" }]);
}
});

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Can you link to the full page source or even better the actual page please?

    That may or may not be correct depending on other configuration options such as sAjaxDataProp .

    Allan
This discussion has been closed.