How to show all page numbers in jQuery datatable pagination?
For example instead of 1 2 3 ... 10
, I want 1 2 3 4 5 6 7 8 9 10
.
My code now is this:
$('.paginated-table').dataTable({
"lengthMenu": [[5, 10, 25, 50, -1], [5, 10, 25, 50, "All"]],
"ordering": false,
"info": false,
"bFilter": false,
"sDom": "t<'row'<'col-md-12'p>>",
"oLanguage": {
"oPaginate": {
"sNext": "",
"sPrevious": "",
}
}
});