Datatables JQuery pagination on both top and bottom solution (if you use bJQueryUI)


If you use the Datatables plugin with JQuery found on this address and need to pagination on both the top and bottom location of  Datatable plugin, you should apply the following;

Just add the property sDom like the following one (p parameter will add the pagination functionality for both on the top and bottom location)

“sDom”: ‘<“H”lfrp>t<“F”ip>’

sample script;

oTable = $(‘#table’).dataTable({
“bServerSide”: true,
“bJQueryUI”: true,
“bSort”: true,
“bFilter”: false,
“bAutoWidth”: false,
 “sDom”: ‘<“H”lfrp>t<“F”ip>’,