Kendo Grid Offline Read and fallback server read if online

90 Views Asked by At

In my app, I want to load data if it is offline or online for my user. If it is offline, it should pull recent data from indexed Db and if it is online it should fetch from server URL. How can we achieve this fallback mechanism? I am looking for an approach where I will load grid using cached data from indexed DB and then overwrite it with server side data. so I will have some data for the user always irrespective of it whether online/offline.

Is this approach possible to design? Please suggest.

thanks in advance

0

There are 0 best solutions below