Showing ellipses between Page Numbers

Showing ellipses between Page Numbers

sabvsabv Posts: 2Questions: 0Answers: 0
edited September 2012 in General
Hi,

Is it possible to display ellipses between page numbers to indicate multiple pages. Our data might span a 100 pages or more. We can set the number of pages to 4 or 5 but we would like to show or when on middle page . Basically having a first and last button and adding ellipses to indicate that there are more pages available but links are not shown.

Is it possible with simple configuration? Or is there a simple modification to code that can make it happen?

Thanks for your help.

Sohail

Replies

  • MikeSMikeS Posts: 113Questions: 1Answers: 0
    +1e6 for that suggestion. I too think that would be a fantastic feature.
  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    It isn't a built in options, but it would be quite possible to do using a pagination plug-in:
    http://datatables.net/development/pagination

    There are examples of pagination plug-ins here:
    https://github.com/DataTables/Plugins/tree/master/pagination

    If you create a plug-in, it would be great if you fork and make a pull request so everyone can benefit from it :-)

    Allan
This discussion has been closed.