Possible bug: Disabling pagination still sets display size to 10

Possible bug: Disabling pagination still sets display size to 10

burncharburnchar Posts: 118Questions: 12Answers: 0

Using DataTables 1.10.18

Quick report: After upgrading DataTables, Editor, and other plugins in one of our applications, we found that only 10 rows were being displayed.
Previously, our datatable had no pagination lines.
Adding: "paging: false" had no affect.
Adding that plus "lengthMenu: [-1]" was necessary to display all rows.
It seems unintended to display only 10 rows when pagination is completely disabled.

Replies

  • kthorngrenkthorngren Posts: 21,447Questions: 26Answers: 4,974

    By default paging is enabled as noted in the docs.

    Adding: "paging: false" had no affect.

    Using paging: false here works with 1.10.18:
    http://live.datatables.net/girelewa/1/edit

    What did you upgrade from?

    Please start by posting your Datatables init code.

    Kevin

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @burnchar ,

    Yep, as Kevin said, please post your code and link to your page or create a test case. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.