Backwards infinite scroll?
Backwards infinite scroll?
Hi, is it possible to use infinite scroll backwards? I'd like to start at the bottom of the table with the scrollbar at the bottom and then fetch/render new rows when the user scrolls up. I've got a lot of rows so it would take too long to load them all up at the start and then jump to the bottom.
This discussion has been closed.
Replies
I'm afraid that there is no facility for this in DataTables at the moment. The infinite scrolling is linked to scrolling downwards as I had assumed that that would generally be the direction of "travel" (start at top, work the way down, like on a web-page). It might be possible to hack the DataTables scrolling code to do what you are looking for, but I rather suspect that it might be a bit 'fiddly'. Might one option be to simply reverse the sort direction so you do start at the top?
Regards,
Allan
I would very much like to have this feature. Can I pay you to develop it?
-James
Regards,
Allan