How to display pagination at the top only
How to display pagination at the top only
sudo255
Posts: 6Questions: 3Answers: 0
in DataTables
Datatable comes with pagination at the bottom as a default. Is there a way to display pagination at the top only?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The dom options define the table control elements to appear on the page and in what order.
https://datatables.net/reference/option/dom
Great @tangerine , so what exact parameters should i use to get pagination at the top only?
Use
dom: 'pt'
. Thep
is the paging element and thet
is the table. For example:http://live.datatables.net/nolayipi/1/edit
Kevin
Thanks, it worked