pageLength parameter not working as expected

pageLength parameter not working as expected

GlyndwrGlyndwr 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

Answers

  • kthorngrenkthorngren Posts: 21,303Questions: 26Answers: 4,947
    Answer ✓

    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

  • GlyndwrGlyndwr Posts: 128Questions: 35Answers: 1

    Ahhh. That is what the 200 is. Thanks!

This discussion has been closed.