Problem on Display Length 10 was exceed also Pagination on the last page is no records
Problem on Display Length 10 was exceed also Pagination on the last page is no records
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
I'm using Datatables server-side, I have 3 databases with 3 different tables, I put the result in one array, then loop in array to show the result. By default length to display is 10, but on the table rows on the page the total shows are 30, the problem once I click the Pagination on the last page, there is no result. Can you help me with this problem? I will attach a document so that you will understand what I mean.
Answers
In order to help debug and understand what you have we minimally need to see your code that looping through the data and displaying the results. Also need the Datatables initialization code. Better is a link to your page or a test case showing the issue so we can see how the code behaves.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Hi Kevin,
Please see the code below.