Currently am working on datatable plugin 1.9.4. Below is datatable intialization code:
oTable = $('#tablename').dataTable({
"aLengthMenu": [
[5, 15, 20, -1],
[5, 15, 20, "All"] // change per page values here
],
"sPaginationType": "bootstrap",
"oLanguage": { "sLengthMenu": "_MENU_ records per page",
"sSearch" : "Search records:",
"oPaginate": {
"sPrevious": "Prev",
"sNext": "Next"
}
},
});
Problem:
When Selecting show 5,15,20 records "Next" is disabled but when i tried to show "All" the Next is still enabled.
Here is that jsfiddle you linked updated with the fixed code http://jsfiddle.net/tNXnB/6/
This is for twitter bootstrap 3.0 css, the full repo of datatables twitter bootstrap 3 code can be found here https://github.com/DataTables/Plugins/blob/master/integration/bootstrap/3/index.html