How to prevent the datatable pulling data when the user paginate backward?
How to prevent the datatable pulling data when the user paginate backward?

Im using datatable with serverside processing.
Sample scenario is that:
When the user paginate into the datatable page 1, page 2 and then page 3 it will pull the data from the serverside. Is there a way that when the user paginate back, since the data has been pulled into the server, it will not pull anymore. I want the previous data stored. Is there any way to do it? Currently I'm reading the stateSave property of datatable. TIA
This question has an accepted answers - jump to answer
Answers
Hi @iamgenesisivan ,
No. When
serverSide
is enabled, nothing is stored on the client - data is always retrieved from the server.Cheers,
Colin
Not exactly what you are asking for but maybe Pipelining will help. Here is an example:
https://datatables.net/examples/server_side/pipeline.html
Kevin