How to show info on records Dynamically
How to show info on records Dynamically
I'm using Datatables to show a table with 10K records. I'm showing 2K records at a time. When the table is loaded I have records from 0 - 2000, then if the button "next2K" is clicked, it reinitialize a new table with records from 2000 - 4000 and so on. I'm using the "info" attribute at datatables like this :
"info": "Showing START to END of TOTAL entries",
My problem is that when I have the records from 2000 - 4000, the "info" is like this :
Showing 1 to 10 of 2000 entries
But I want to show : Showing 2001 to 2010 of 4000 entries. Is there a way doing it using START , END , TOTAL ?