Reputation: 13
I want to display a listbox along with full numbers pagination. How can I combine both of them?
Upvotes: 0
Views: 980
Reputation: 12291
Simply you can do with Select list
Example: Import select.js along with your datatable js files
$(document).ready(function() {
$('#example').dataTable( {
"sPaginationType": "listbox"
} );
} );
Upvotes: 0
Reputation: 8099
Check http://legacy.datatables.net/plug-ins/pagination
The last example is about select-list
pagination.
They have examples for the legacy version, but it's applicable to datatables 1.10+
Upvotes: 1