pageLength parameter not working as expected
pageLength parameter not working as expected
Glyndwr
Posts: 128Questions: 35Answers: 1
I have these parameters:
"info": false,
"scrollY": "200px",
"scrollCollapse": true,
"paging": false,
"pageLength": 30,
dom: 'Bfrtip',
buttons: ['copy', 'csv', 'excel', 'pdf', 'print'],
So I expect 30 rows to display; however, only five rows are displayed.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Its due to having scrollY configured with a height of
200px
. If you change the value you can control how many rows are displayed.Kevin
Ahhh. That is what the 200 is. Thanks!