Pagination

Pagination

jianmajianma Posts: 1Questions: 0Answers: 0
edited September 2010 in General
Is it possible for me to have 2 paginations for the datatable?
One is at the top of the table, the other one is at the bottom of the table (we only have this one currently be default).
Could you help me?
Set some options or we need to write some plug-in codes?

Thanks!
Jian

Replies

  • cdaiglecdaigle Posts: 57Questions: 0Answers: 0
    If what you are looking for is to have pagination buttons both above and below the datatable, this can be accomplished with the sDom option. See here for more details: http://datatables.net/usage/options#sDom . Also, here is an example that shows it: http://datatables.net/examples/advanced_init/dom_multiple_elements.html .

    Hope this helps.
This discussion has been closed.