bPaginate = false and server side processing causes emtpy table
bPaginate = false and server side processing causes emtpy table
Hi,
I would like to turn off the paging when the number of total results is smaller than the current page size of the table. This works fine with client side tables. When I switch to server side processing, setting bPaginate to false causes an empty table.
Here is my configuration:
[code]
$("#fooTable").dataTable({
"sAjaxSource": "server-side.php",
"bProcessing": true,
"bServerSide": true,
"oLanguage": {"sUrl": "assets/js/dataTables_de.txt"},
"bPaginate":false,
"sPaginationType": "full_numbers",
"sPaging": "paging",
"iDisplayLength": "10",
"bLengthChange": false,
"bFilter": false,
"bSortClasses": false,
"bInfo": false,
"bAutoWidth": false
});
[/code]
Looking forward to your answers!
Best Regards
Sebastian
I would like to turn off the paging when the number of total results is smaller than the current page size of the table. This works fine with client side tables. When I switch to server side processing, setting bPaginate to false causes an empty table.
Here is my configuration:
[code]
$("#fooTable").dataTable({
"sAjaxSource": "server-side.php",
"bProcessing": true,
"bServerSide": true,
"oLanguage": {"sUrl": "assets/js/dataTables_de.txt"},
"bPaginate":false,
"sPaginationType": "full_numbers",
"sPaging": "paging",
"iDisplayLength": "10",
"bLengthChange": false,
"bFilter": false,
"bSortClasses": false,
"bInfo": false,
"bAutoWidth": false
});
[/code]
Looking forward to your answers!
Best Regards
Sebastian
This discussion has been closed.
Replies