Pagination-Filter doesn't work with server-side processing

Pagination-Filter doesn't work with server-side processing

criiss29criiss29 Posts: 2Questions: 0Answers: 0
edited May 2013 in DataTables 1.9
Hello,

sorting, filtering and pagination works fine without sAjaxSource and bServerSide: true

But I need use them to fill the table with the correct information.

Please help me to find the error or what I need to work:

$('#example').dataTable({
"bProcessing": true,
"bServerSide": false,
"aoColumns": [
{ "sClass": "center", "bSortable": true },
{ "sClass": "center", "bSortable": true },
{ "sClass": "center", "bSortable": true },
{ "sClass": "center", "bSortable": true },
{ "sClass": "center", "bSortable": true },
{ "sClass": "center", "bSortable": true },
{ "sClass": "center" }
],
"sAjaxSource": 'WebHandler.ashx?action=InitializeTable',
"fnServerData": function (sSource, aoData, fnCallback) {
$.ajax({
"dataType": 'json',
"type": 'POST',
"url": sSource,
"data": aoData,
"success": fnCallback
});
}
});
This discussion has been closed.