Show all records, doesn't show last record...
Show all records, doesn't show last record...
A bit of context is going to be needed for this one.
I use dataTables with server side processing. Pagination is enabled with page lengths of 10, 25, 100, 200 and -1 (All). I also use the example pipeline code that grabs up to 5x the requested pages so that paging through the records can be a lot more smooth.
Problem is this, when I try to "Show all" in terms of page length, the system apparently displays every record except the last one. So I'll see at the bottom something like "1 to 199 of 200" but the pagination buttons are disabled and I can't seem to get that last record to display.
now if I set the page length to non-"All", I get all the records just fine. But that -1 record length somehow removes the last record from the display.
Has anyone seen this before?
I use dataTables with server side processing. Pagination is enabled with page lengths of 10, 25, 100, 200 and -1 (All). I also use the example pipeline code that grabs up to 5x the requested pages so that paging through the records can be a lot more smooth.
Problem is this, when I try to "Show all" in terms of page length, the system apparently displays every record except the last one. So I'll see at the bottom something like "1 to 199 of 200" but the pagination buttons are disabled and I can't seem to get that last record to display.
now if I set the page length to non-"All", I get all the records just fine. But that -1 record length somehow removes the last record from the display.
Has anyone seen this before?
This discussion has been closed.