Scroller event for server side datatable

Scroller event for server side datatable

sdinesh21sdinesh21 Posts: 37Questions: 0Answers: 0
edited December 2013 in DataTables 1.9
Hello Allan/All,
I am using Datatables 1.9 with serverside data having around 6000 rows. Datatables fetches around 200 rows initially. I want to capture the event when user scrolls to the next set of 200 rows. I tried $('.dataTables_scrollBody').on('scroll', function() {} but it captures all scroll events, even if it is within a single set of 200 rows.
Please advise.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Have you tried Scroller, which basically does exactly that: http://datatables.net/extras/scroller/

    Allan
This discussion has been closed.