How to reuse rows data while using server side processing with pagination

How to reuse rows data while using server side processing with pagination

hjindalhjindal Posts: 1Questions: 0Answers: 0
edited March 2013 in General
I have been using the data tables component: server side processing with pagination. I am using a page size of 20 for a DB having thousands of records. As per my observation, every time i hit on a page-link, an AJAX request is made ti the server to fetch the rows data for that page index and page size.
Now i want to re-use the data which i already fetched for some particular page index, how do i do that?

Replies

  • allanallan Posts: 63,519Questions: 1Answers: 10,473 Site admin
    You cannot. The whole point of server-side processing is that the data is held at the server, not the client. So the client-side only has what is needed for the current draw.

    You could implement some form of cache if you want, but that's not part of DataTables core.

    Allan
This discussion has been closed.