Paging not updating the displayed records

Paging not updating the displayed records

christopher_crmwachristopher_crmwa Posts: 2Questions: 0Answers: 0
edited June 2012 in DataTables 1.9
Hi All,

Been working with the plugin for three days now, and now I'm totally stuck.

I am trying to use the paging functionality using ajax.
Now, I have a problem where when I click the page number or the next button,
the list is not updating, it just keeps on processing. But I was able to verify
that ajax is successfully retrieving the records, it's just that it is not updating the records on the table.

Please advice. Really need your help.
[code]
$('#tablelist').dataTable({
"bJQueryUI": true,
"sScrollY": "400px",
"bSort": false,
"bFilter": false,
"sPaginationType": "full_numbers",
"bProcessing": true,
"bServerSide": true,
"iDisplayLength": 100,
"sAjaxSource" :'/agco/rdslpod/rdsllist',
"aoColumns":[
{"mDataProp": "brand_name"},
{"mDataProp": "category_name"},
{"mDataProp": "model_name"},
{"mDataProp": "date_modified"},
],
"fnServerData": function ( sSource, aoData, fnCallback ) {
$.ajax( {
"dataType": 'json',
"type": "POST",
"url": sSource,
"data": aoData,
"success": function(data)
{
fnCallback(data);
}
});
},
"oLanguage":{
"sInfo": "Showing _START_ to _END_ of _MAX_ Entries",
"sInfoFiltered":""
}
});
[/code]

Replies

  • christopher_crmwachristopher_crmwa Posts: 2Questions: 0Answers: 0
    edited June 2012
    Please disregard this post, this is fixed now.
    Thanks
This discussion has been closed.