i have around 2000 entries
i have around 2000 entries
alexchui
Posts: 2Questions: 1Answers: 0
The table only display 1000 . How to set it to display 2000 ?
i am using datatables 1.10
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi alexchui,
DataTables 1.10.x has property called:
lengthMenu
.This property allows you to change and set your own range of page size values like so:
"lengthMenu": [100, 250, 500, 1000, 2000]
This would provide you with an option to display 2000 records on the page. However if you do not wish to use paging at all you can set the
lengthChange
property tofalse
:"lengthChange": false
Not entirely sure if this is what you are referring to though, let us know if you meant something else!
Hope this helps,
thank you . Yes it did.
seems my return data record was capped at 1000. Thats why .