How can I specify the number of rows to display on a single \"page\" when using DataTables\'s pagination feature?
for 10 records
$('#datatable').DataTable({"pageLength": 10});
for 50 records
$('#datatable').DataTable({"pageLength": 50});
for all records
$('#datatable').DataTable({"pageLength": -1});