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
The dom options define the table control elements to appear on the page and in what order.
Great @tangerine , so what exact parameters should i use to get pagination at the top only?
Use dom: 'pt'. The p is the paging element and the t is the table. For example:
Thanks, it worked
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.