Datatable scroller isue on server side

Datatable scroller isue on server side

ajaymauryaajaymaurya Posts: 1Questions: 0Answers: 0

I notised that datatable scroller not working perfect when its get data on server side.
Its request every time when scroll, this is not good for server side, previous versions its works fine, but now its not i impliment it my project but when scroll first time its work but when once its get data from server you scroll it send request to server even if you scroll very small 1px its send request every time of scroll
i check thins on https://datatables.net/extensions/scroller/examples/initialisation/server-side_processing
here also it behav same

Replies

  • allanallan Posts: 65,565Questions: 1Answers: 10,898 Site admin

    Hi,

    Thanks for your post. I've deleted the duplicate.

    In the example you link to I scroll down to 22 (using the mouse wheel, not the scroll bar) before it loads data. The next load is around 36, then 47. Is that not what you are seeing?

    The "buffer" size in that example isn't very large, but it could be increased by using scroller.displayBuffer.

    Allan

Sign In or Register to comment.