Page length - other standard value
Page length - other standard value
paintitblack
Posts: 60Questions: 20Answers: 0
Hi,
I changed the following example https://datatables.net/extensions/buttons/examples/initialisation/pageLength.html the array from
lengthMenu: [
[ 10, 25, 50, -1 ],
[ '10 rows', '25 rows', '50 rows', 'Show all' ]
],
into
lengthMenu: [
[ 15, 25, 50, -1 ],
[ '15 rows', '25 rows', '50 rows', 'Show all' ]
],
but unfortunately the initial value is still 10 rows.
How can I change the intial value (it should be 15)?
Thanks in advance
Pib
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Try the
pageLength
option.Kevin
Thanks it works. I guess stateSave: true was also a reason for it.