New version of scroller error "Pagination must be enabled for Scroller" why should pagination be on?

New version of scroller error "Pagination must be enabled for Scroller" why should pagination be on?

LukeSLukeS Posts: 9Questions: 0Answers: 0
edited August 2012 in General
The new dev version of scroller throws the following error: "Pagination must be enabled for Scroller" if "bPaginate": false. This is also listed in the release notes: "New: Add warning that pagination must be enabled in DataTables when it is found to not be."

My question is why should pagination be enabled with scroller? When scrolling is enabled there are no pages.

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    Fundamentally paging must be enabled for Scroller because it hooks into the DataTables pagination system in order to draw only parts of the table (i.e. each page). Although you don't see the pagination control externally (don't include the 'p' option in sDom), the pagination must be enabled for Scroller to work.

    There is more information about how Scroller works here: http://datatables.net/blog/Introducing_Scroller_-_Virtual_Scrolling_for_DataTables

    Allan
This discussion has been closed.