Number of pages in pagination div

Number of pages in pagination div

wondris009wondris009 Posts: 8Questions: 0Answers: 0
edited May 2011 in General
Hi Allan, is there some possibility to have more then five pages in pagination? Now there is for "full_numbers": first, prev, 5 PAGES HERE, next, last. I would like to have for example 10 pages there.

Thanks for reply Lukas

Replies

  • wondris009wondris009 Posts: 8Questions: 0Answers: 0
    Hi this i have solved by changing "iFullNumbersShowPages" in the dataTables.js. Maybe it can be parameter of datattable initialization. Whe i use it as $("#some_table").dataTables("iFullNumbersShowPages": 10); it does not work.

    Lukas
  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    It wouldn't do since there isn't any code in DataTables to cope with that kind of initialisation. What you can do is just something like:

    [code]
    jQuery.fn.dataTableExt.oPagination.iFullNumbersShowPages = 10;
    [/code]
    Allan
This discussion has been closed.