DOM positioning
DOM positioning
johnuga
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
This discussion has been closed.
Answers
Also, I still need to keep the New, Edit, and Delete buttons as the top as well.
-John
The
dom
option is the one to use here. The documentation explains it in detail, but in summary, each letter indom
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