Server side - loading all data one time only.

Server side - loading all data one time only.

IcosIcos Posts: 9Questions: 0Answers: 0
edited June 2013 in General
Hi. I'm using DataTables with server side database. I want to load all data for certain query once and then preform all sorting/filtering operations without further ajax calls. I've tried to increase pipeline size and it works for pagination. However, any sort/filtering operations are still using ajax requests.

Is it possible to disable ajax requests for sorting/filtering when all required data is already loaded?

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Just don't enable server-side processing if you don't want server-side processing :-). See: http://datatables.net/release-datatables/examples/data_sources/ajax.html

    Allan
  • IcosIcos Posts: 9Questions: 0Answers: 0
    edited June 2013
    Wow, that's was a quick answer!

    Thanks for the tip! Now it works like a charm. :)
  • IcosIcos Posts: 9Questions: 0Answers: 0
    edited June 2013
    deleted
This discussion has been closed.