bPaginate in top and bottom

bPaginate in top and bottom

evuignerevuigner Posts: 4Questions: 0Answers: 0
edited February 2010 in General
Hi there and Thanks for your wonderful application.

I'm using the last release of DataTables with jQueryUI, with the pagination in the bottom right (full numbers).
Is it possible to have it in the bottom and in the top ?

Best regards,
Emmanuel

Replies

  • evuignerevuigner Posts: 4Questions: 0Answers: 0
    Like this (photoshop) :
    http://maiis.ch/images/datatables.jpg

    :)
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Certainly is! Have a look at this example:
    http://datatables.net/examples/advanced_init/dom_multiple_elements.html

    It's all about sDom:
    http://datatables.net/usage/options#sDom

    Regards,
    Allan
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    It's also worth noting that when using jQuery UI themes with DataTables the default value for sDom is '<"H"lfr>t<"F"ip>'. So to add another paging control, stick another 'p' in the first section.

    Allan
  • evuignerevuigner Posts: 4Questions: 0Answers: 0
    Perfect allan, thanks !
  • bobs325bobs325 Posts: 3Questions: 0Answers: 0
    When I implement this I don't get page numbers on the first pagination control (only the first / previous / next / last links).

    So they display properly at the bottom (1-5) but not at top. Any ideas?
    I'm not using jQuery UI.
  • darshakdarshak Posts: 1Questions: 0Answers: 0
    edited March 2012
    darshakkumarshah.wordpress.com to read this blog to solve your problem.....
This discussion has been closed.