adding 1000, 10000 to pagination popup
adding 1000, 10000 to pagination popup
Hi,
Am using Datatables 1.6.1. Am a newbie and completely blown away as to what can be done with it. I would like to show 1000, 10000 records per page in the table? is this possible if so, how can this be achieved?
As of now am able to see 100 records per page but i want to see 1000 or 10000 records per page.
I know i know the frontend will possbily choke with that kind of info but i want to see if this can be done.
Thank you very much for your help,
Bo
Am using Datatables 1.6.1. Am a newbie and completely blown away as to what can be done with it. I would like to show 1000, 10000 records per page in the table? is this possible if so, how can this be achieved?
As of now am able to see 100 records per page but i want to see 1000 or 10000 records per page.
I know i know the frontend will possbily choke with that kind of info but i want to see if this can be done.
Thank you very much for your help,
Bo
This discussion has been closed.
Replies
check the "aLengthMenu" under http://datatables.net/usage/options
but no idea if this parameter already exists in 1.6.1 :-/
you can achieve this by iDisplayLength variable, given by DataTable.
[code]
$(document).ready(function() {
jQuery('#example').dataTable(
"iDisplayLength":5000 or
"iDisplayLength":1000
);
});
[/code]
Thanks,
Vivek
Allan
Thanks all, just upgraded to 1.7 and it works like charm. Can't stop loving datatables...Great Work Allan!!!