Customizing the "Pagination"
Customizing the "Pagination"
Hi I am using DataTables 1.8 & is awesome. I love it.
I am using DataTables with ASP.NET 2010, Framework 4.0
I need to customize the Paging, i dont want [quote] Last First 1 2 3 4 5 Next Last [/quote]
I need it as [quote] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 _ >> [/quote] if i click on the [quote] _ [/quote] page button the paging list should be [quote] _ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 _>>[/quote] and so on like this.
Please help me....
Thanks
Gurpreet Gill
I am using DataTables with ASP.NET 2010, Framework 4.0
I need to customize the Paging, i dont want [quote] Last First 1 2 3 4 5 Next Last [/quote]
I need it as [quote] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 _ >> [/quote] if i click on the [quote] _ [/quote] page button the paging list should be [quote] _ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 _>>[/quote] and so on like this.
Please help me....
Thanks
Gurpreet Gill
This discussion has been closed.
Replies
The cleaner way would be an pagination plugin that handles your needs. If you look at the sourcecode and search for "full_numbers" you wil get some hints.
http://datatables.net/development/pagination
http://datatables.net/plug-ins/pagination
Allan
Thanks