Datatables pagination hide 1 2 3 page button and have Next - Previoud Button ony
Datatables pagination hide 1 2 3 page button and have Next - Previoud Button ony
logesh123
Posts: 1Questions: 1Answers: 0
I have used datadables.net pagination for my html table. And i want to hide/remove the 1 2 3 ... buttons in pagination and have only Next and Previous Buttons on it.
Is it Possible like doing pagingnumbers: false,(something like this simple change in code) ?
My Function:-
$('#pagination').DataTable( {
"pagingType": "full_numbers",
"iDisplayLength": 2,
"bFilter": false
} );
This discussion has been closed.
Answers
try "pagingType": "simple" instead of "pagingType": "full_numbers"
guess that will do exactly what you want
cheers
Yup - the
pagingType
documentation lists all of the options available.Allan