advantage of client side Datatables with AJAX?

advantage of client side Datatables with AJAX?

rlwrlw Posts: 2Questions: 0Answers: 0
edited June 2013 in General
Sorry, I don't have a sample page. I am loading up 12,000 rows into a datatable, and running into the 'a script is taking too long' message in firefox. I've researched client side ajax, but as far as I can tell, the only advantage is slightly reducing the amount of data being transferred from server to browser (since the html is unnecessary). Does datatables support reading data in chunks while still using client side processing? Is there some other advantage of client-side ajax I'm not seeing?

I really like the global and per-column filtering features that are so easy to do client-side. (I have a second question about server side processing.)

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Turn on deferred rendering ( bDeferRender ) - that's the biggest advantage you can get when using client-side processing with Ajax. It creates the DOM elements only when required, rather than up-front. So its not reading data in chunks, it is still up front, but the heavy DOM stuff is done on an -as-needed basis.

    Allan
This discussion has been closed.