View Full Version : Ext.Store Local - Cache a store created during execution

26 Jan 2012, 6:38 PM
Hello, thanks in advance for any help.

I have an application that populates a store from a database, then uses this store to populate a list. The user can then select items from this list, to add to another list.

So when the user selects from list A, I populate another store (based on the same model) with the selected data, and populate list B.

I would like this data to persist and be cached on the device. So when the website is refreshed, or the application re-launched, the store that was created will get loaded with the data from before.

Is this possible?

31 Jan 2012, 8:07 AM
Yes. You can use cookies, or better, local storage.