Datatable using Server Side Progress, Pagination dont work (Datatables ver 1.10)
Datatable using Server Side Progress, Pagination dont work (Datatables ver 1.10)
cuongdev
Posts: 2Questions: 1Answers: 0
On Server
...
$result['draw'] = $draw; //1
$result['recordsTotal'] = $total; //1629
$result['recordsFiltered'] = $data->count(); // 200
$result['data'] = $temp; //data array
But, Pagination Button Bar only show one button for page 1, It should show eight buttons for 9 pages (1629 / 200).
Thanks a lot.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Per the forum rules, please link to a test case showing the issue.
Sounds like your results have been filtered to just 200 rows.
If there is no filter, then you need to read over the server-side processing parameters spec again:
Allan
Thanks so much, I misunderstood about [recordsFiltered]