iDisplayStart greater than displayed records
iDisplayStart greater than displayed records
I came across a problem regarding pagination.
Whenever I'm applying a filter on my dataset and I'm at a page displaying a result starting with a greater offset than the number of rows returned , Datatables will just display "No matching records found" and "Showing 11,576 to 358 of 358 entries (filtered from 12,890 total entries)".
Is it possible to have DataTables select the last page (and thus setting iDisplayStart at the largest possible value) when there are no result to display on the selected page?
Whenever I'm applying a filter on my dataset and I'm at a page displaying a result starting with a greater offset than the number of rows returned , Datatables will just display "No matching records found" and "Showing 11,576 to 358 of 358 entries (filtered from 12,890 total entries)".
Is it possible to have DataTables select the last page (and thus setting iDisplayStart at the largest possible value) when there are no result to display on the selected page?
This discussion has been closed.