Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82234

Datatables sourced from IndexedDB.

$
0
0

Hi,
I'm trying to find a solution to source Datatables from IndexedDB with lazy loading. Something similar to ajax server-side processing but to be cliend-side processing with indexedDB.
So far I ended up firstly reading from indexedDB to JS object and then use it as data source for Datatables. Further data modifications are also successfully done by writing into the respective object and indexedDB. That works almost perfectly. With 8000 lines of data the data loads within 3 seconds (0.5 from indexedDB to JS object, and 2.5seconds rendering the datatables).
At some moment I may need to go beyond 8000 lines, and I would like to have the possibility to lazy-load data straight from indexedDB. Has anyone succeeded?

I've seen 1 example on forum with indexedDB, but that one uses same approach. There is also one example with localStorage, which also is not doing any lazyloading.

Thank you


Viewing all articles
Browse latest Browse all 82234

Trending Articles