Size and location of pagination buttons

Size and location of pagination buttons

kentavvkentavv Posts: 2Questions: 0Answers: 0
edited August 2012 in DataTables 1.9
Would someone point me in the right direction for moving the pagination buttons to the top center of the DataTable and increasing their size? The default lower right buttons with 'bJQueryUI:true' are just too small. And, because my row height change from page to page, I'd much rather have the buttons in the top center so they are consistently located.

I've been able to create JQuery buttons outside of the DataTable area that control the paging, but I could not figure out how to make them appear in the top "bar" of the DataTable with the

Thank you

Replies

  • allanallan Posts: 63,397Questions: 1Answers: 10,451 Site admin
    Like this: http://live.datatables.net/ebaviy/2/edit ?

    Allan
  • kentavvkentavv Posts: 2Questions: 0Answers: 0
    This is what I'd tried, but I did not see a way to keep the buttons centered, increase their size, or keep DataTable tools on a single row. The latter needs some explanation. In the header, your example has the rows/page and search on the top line and the page number on the second line. Given the number of pages I unfortunately have, I have to disable the page number leaving the two push buttons. These are then pushed fall to the left, on the second line, under the rows/page selection.

    Thank you
  • allanallan Posts: 63,397Questions: 1Answers: 10,451 Site admin
    Sounds like just a CSS issue then - how are you currently trying to position the elements? Perhaps absolute positioning inside a header element would do the trick here.

    Allan
This discussion has been closed.