Pagination: Showing "Pages 1 of 20"
Pagination: Showing "Pages 1 of 20"
yousufsadat
Posts: 25Questions: 11Answers: 0
Hi. This product is awesome. It is a life savior. I want to show "Pages 1 of 10" something like that within the buttons of pagination.
<< < Pages 1 of 20 > >> . How can I achieve such a thing. I am able to insert the icons/images for the Previous/Next buttons but how can I get the page numbers within the buttons. Any ideas on how can I achieve this.
Thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You might be trying to do something that already exists. Take a look at https://datatables.net/examples/basic_init/alt_pagination.html
No bindrid. This is not what I am looking for. I have changed the default look and feel. How can I write the word "Pages" <- this is a string.
<< This is First
I've done all of these using images /icons but the issue is inserting the Pages 1 of total.
take a look at http://jsbin.com/rireyog/edit?js,output
It does most of what I think you are looking for just using callbacks built into DataTables
See also my reply in your other thread on this topic.
Please don't post duplicate questions in future.
Thanks,
Allan
Sure thanks Allan.