A way to set default number of displayed results/rows?
A way to set default number of displayed results/rows?
Shawellaby
Posts: 5Questions: 2Answers: 0
Is there a parameter to set the default number of rows displayed (currently always defaults to 10)
This question has accepted answers - jump to:
This discussion has been closed.
Answers
https://datatables.net/reference/option/lengthMenu
To set the default use
pageLength
.Kevin
Thank you. I overlooked the comment in the documentation about overriding this value with pageLength.