Quantcast
Viewing all articles
Browse latest Browse all 82136

Progress Bar for Ajax Server Side DataTable

Hi All,

I am fairly new to datatables. I am making a reporting plugin for an open source application, and am using data tables to display the data.

I tried initially to just display all the data, but it was a record set of over 50k. I therefore did it as an ajax server side processing table. And that cut down the sped from about 50 secs to 15 secs. But its still 15 secs, and thats a long time, especially for every single request for pagination buttons, search boxes etc etc...

I want to display a progress bar so the client knows that the report is actually doing something, and not just hanging, cuz the client does not want a static loading bar or spinner, he wants to know that the report is loading or doing something.

I have php code that will do a progress bar, but it is based on this class http://vancewalsh.com/php/

But the problem here is, because of the specific way I have to return the data, in the json array object format, I don't know how to make data tables work with this example.


Any help would really be appreciated.
Zedd

Viewing all articles
Browse latest Browse all 82136

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>