Pagination on scroll

Pagination on scroll

rajaarshadnisarrajaarshadnisar Posts: 1Questions: 1Answers: 0
edited March 2020 in Free community support

Hi

I am evaluating data-tables for replacing web grids in may application. I have database level pagination with in current implementation and cannot change any logic in database.

Database stored procedure expects page number and page size for pagination.
I would like to know if datatables provides me any option to fix my page size and incremental page number while scrolling and making server end calls to fetch data page by page?

Like initial record will be loaded against
page 1, page size 50

and when scroll finishes it sends next server end call
page 2, page size 50

and so on ..

All examples I have seen uses start and length parameters which are calculated by datatable.net, but i want to use fixed parameters and call ajax when scroll finishes

thanks

Answers

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

    You could look at Scroller, that might give you what you need.

    Colin

This discussion has been closed.