答案 0 :(得分:0)
答案:
1. Include input.js file
2. $(document).ready(function() {
$('#example').dataTable({
"pagingType": "input"
});
});
3. Two flavours..For text box #2 and for list box kind of page..include below..you can choose option above and below
$(document).ready(function() {
$('#example').dataTable({
"pagingType": "listbox"
});
});
https://datatables.net/plug-ins/pagination/input
How to use the JQuery DataTables "input" plugin with DataTables 1.10
How to change the Page # in DataTables in the Pagination bar?
Desired page in pagination with DataTables