Datatable pagination doens't working properly.
Datatable pagination doens't working properly.
vijaynailbiter
Posts: 6Questions: 3Answers: 0
Hi,
Data-table pagination doesn't working properly.
Below is my data table initialization.
$('#dynamic_list').DataTable( {
"order": [[ 0, "desc" ]],
"iDisplayLength": '100',
});
In pagination it's showing me "Showing 1 to 0,100 of 439 entries"
I can see 0,100 that might be create the problem. Not sure.
Can you please help me out on this ?
Thanks
This discussion has been closed.
Answers
You are passing it in as a string rather than a number. See the
pageLength
documentation - it should be a number you pass in.Allan