Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82379

Getting the data of the clicked page

$
0
0

Hello,

I have been playing around with DataTables a bit, but of late to fix some performance issues I am looking at implementing a pagination method with the large amount of data i have to deal with. So I have about 100k records in my database, i retrieve only 500 records at a given time, when the user clicks on the last page of the table the next 500 records are retrieved. Now i have been able to enable the retrieval of small chunks but when i try to use the table.row(":last", {order:"applied"}).data() i am unable to get the data of the page that was clicked but instead i get the data of the previous page that i was on. Does anyone know how i can retrieve the very last row on the page i just clicked or of the very last row among all the rows that exist in the table currently?


Viewing all articles
Browse latest Browse all 82379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>