Server side pagination always starts with the second page

Server side pagination always starts with the second page

RadyjkoRadyjko Posts: 2Questions: 1Answers: 0

Hi,

I think there is an issue with DataTable plugin. Problem is that the data handler always gets iDisplayStart equal to iDisplayLength. Even if there are not enough items to have 2 pages.

This is how it is configured:
$('#main-table').dataTable({
"bLengthChange": false,
"aLengthMenu": [[10, 15, 25, 50, 100 ], [10, 15, 25, 50, 100]],
"aaSorting": [[ 1, "asc" ]],
"iDisplayLength" : 10,
"bPaginate": true,
"sPaginationType": "full_numbers",
"bFilter": false,
"bSort": false,
"bInfo": true,
"bProcessing": true,
"bServerSide": true,

iDisplayStart never starts with zero as it should. I have the latest version of you DataTable plugin.
Cookies are removed. New browser session - Chrome.

Thanks, Radek

Answers

This discussion has been closed.