First data load from server : how to load by chunks ?
First data load from server : how to load by chunks ?
Hi Allan,
Back on a new DataTables project : Could you point me to a piece of code which will load data by chunks from the server, on first load only ?
With more than 1000 lines of data, I would like to load let's say 100 lines, then show the table and complete immediately with the other lines gettting loaded in the background.
This needs to be compatible with later filtering and/or pagination, which i DO NOT want to do on the server, which is too sluggish (mainly due to latency : it's salesforce). I will be using standard cookies state storage.
Can you help, please ?
Rup
Back on a new DataTables project : Could you point me to a piece of code which will load data by chunks from the server, on first load only ?
With more than 1000 lines of data, I would like to load let's say 100 lines, then show the table and complete immediately with the other lines gettting loaded in the background.
This needs to be compatible with later filtering and/or pagination, which i DO NOT want to do on the server, which is too sluggish (mainly due to latency : it's salesforce). I will be using standard cookies state storage.
Can you help, please ?
Rup
This discussion has been closed.
Replies
You can load in chunks if you are using server-side processing, but I doubt SafeForce have DataTables server-side processing support built in!
Another option to speed up the client-side is to enable deferred rendering - bDeferRender .
Regards,
Allan
Does bDeferRender need to be used in conjunction with sAjaxSource, or can it be used differently ?
Can I send you my code privately ?
Thanks,
Rup
> Can I send you my code privately ?
Yes, you can PM me here: http://datatables.net/forums/messages/add/allan . Or e-mail allan @ this domain.net.
Allan