Infinite Scrolling with server side processing

Infinite Scrolling with server side processing

otinanismotinanism Posts: 5Questions: 0Answers: 0
edited October 2010 in General
I am currently stuck with this problem because if I use the example provided here:
http://datatables.net/examples/api/infinite_scroll.html

After some thousands of rows the application becomes completely unresponsive (especially in Internet Explorer).
So I tried to find a way to use infinite scrolling with server side processing but I was not able to find something. Apparently it is not automatically supported by DataTables?

So the last thing I thought, which does not seem easy to implement either, is to remove rows when scrolling down (for example after scrolling down to 500 rows, remove the first 200). Of course this means that there should be a server call when scrolling up that removes rows from the end and adds at the start of the table.

Either way I have no idea how to proceed. I would be grateful for some tips if someone has implemented one of the two ways (I repeat it is server side processing with infinite scrolling, not just server side processing)

Thank you.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Yes, server-side processing and infinite scrolling will work fine together and I use it in some of my own applications. All you need to do is have server-side processing as normal and then set the scrolling parameters you want. If this isn't working for you, can you link us to the example which isn't working please.

    Allan
This discussion has been closed.