Can some please provide an example of syncing an ajax store to localStorage. I can't seem to get it to work, thanks!
Can some please provide an example of syncing an ajax store to localStorage. I can't seem to get it to work, thanks!
http://docs.sencha.com/touch/2-0/#!/...y.LocalStorage
Remember we are still in the PR stages so expect a few bumps in the road.
Mitchell Simoens @LikelyMitch
Modus Create, Senior Frontend Engineer
________________
Need any sort of Ext JS help? Modus Create is here to help!
Check out my GitHub:
https://github.com/mitchellsimoens
I've been there multiple times, I'm looking for a working example someone may have, thanks.
This would really be of benefit to me too.
In particular when it comes to storing a user's settings for later use.
Thx
This is really as simple as looping through each record in an Ajax store and adding them into a localStorage store, and vice versa. The problem is, that right now in PR2, localStorage is broken.
Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.
That's a shame. I'm busy developing an app using Sencha Touch (1.10) but as I'm still busy coding away I've migrated to PR2. Does anyone know the ETA on the localStorage solution for PR2. When is PR2 due for official release?
In this blog you will find an example:
http://lalexgraham.wordpress.com/2012/09/12/sencha-touch-2-example-of-syncing-localstorage-store-with-remote-jsonp-proxy-store/
It is more a "move it all" to localstorage than a record sync.