PDA

View Full Version : Is it possible to write back to a json store in memory?



Xorcist
2 Jul 2013, 10:43 AM
I have a grid and a form. The grid is loaded from a store utilizing a json memory proxy. Clicking a record on the grid loads my form from that record. And all this works as expected, but is there a way for me to write back to the store from my form? So I can have the grid (and any other controls linked to that store) update themselves appropriately.

slemmon
4 Jul 2013, 9:48 AM
You'll need to use a localstorage proxy instead (provided the target browser supports localstorage).
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.data.proxy.LocalStorage