Using scrollResize with Scroller

Using scrollResize with Scroller

mcranemcrane Posts: 10Questions: 4Answers: 0

I am trying to use the scrollResize plugin (https://github.com/DataTables/Plugins/tree/master/features/scrollResize) but it doesn't seem to be working with the Scroller plugin.

Answers

  • mcranemcrane Posts: 10Questions: 4Answers: 0
    edited March 2017

    I am displaying over 200,000 rows so I want to use the Scroller extension. However, when I enable Scroller, I get an error: "DataTables warning: table id=example - Pagination must be enabled for Scroller". Are these two features incompatible?

  • mcranemcrane Posts: 10Questions: 4Answers: 0
    edited March 2017

    More information: I used the exact code from here https://raw.githubusercontent.com/DataTables/Plugins/master/features/scrollResize/dynamic.html

    and added links to the Scroller CSS and JS files, added this to my dataTables initialization:

    dom: 'triS'
    paging: true
    scroller: true

    and it only shows 9 rows instead of the expected 57 in the example.

This discussion has been closed.