No matching records found - Server Side Processing

No matching records found - Server Side Processing

mohaideenmohaideen Posts: 10Questions: 3Answers: 0
edited April 2014 in General
[quote]
I am using server side processing and JSON is appDetails= ["aaData":{}, "isSuccessful"]

Here i show the aaData values in DataTable

Here, oLanguage.sEmptyTable is not working and oLanguage.sZeroRecords is working

I got response from server side correctly
[/quote]

[code]
var DataTableApp = $('#DataTableApp').dataTable({
"sAjaxSource": "php/getAppDetails.php",
"bRetrieve":true,
"bDestroy":true,
"bServerSide": true,
"sAjaxDataProp": "aaData",
"sServerMethod": "GET",
"iTotalDisplayRecords":2,
"iTotalRecords":2,

"fnServerParams": function ( aoData ) {
var imei_app = document.getElementById('imei').value;
console.log(imei_app);
aoData.push({"name":"imei","value":imei_app});
},

"aoColumns": [{
"mData": "appName"
}, {
"mData": "appId"
}, {
"mData": "versionInstalled"
}, {
"mData": "appSize"
}, {
"mData":"dataSize"
},{
"mData": "appType"
},{
"mData":"installedLocation"
},{
"mData": "installedTime"
}]
});

[/code]

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    > iTotalDisplayRecords

    That's not an initialisation property - I don't understand what that is doing there.

    Please link to a test case showing the issue - as required in the forum rules.

    Allan
This discussion has been closed.