DOM positioning

DOM positioning

johnugajohnuga Posts: 16Questions: 7Answers: 0

http://datatables.net/release-datatables/examples/basic_init/dom.html

How can I get the Show X entries, previous...next, and search to appear before (at the top) the table?

Thanks,
-John

Answers

  • johnugajohnuga Posts: 16Questions: 7Answers: 0

    Also, I still need to keep the New, Edit, and Delete buttons as the top as well.

    -John

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    The dom option is the one to use here. The documentation explains it in detail, but in summary, each letter in dom is a feature of the table and it controls where the element will appear in the DOM. Note that you might need to use CSS as well to get the visual positioning right - dom is DOM order only, although of course the two go hand in hand.

    Allan

This discussion has been closed.