View Full Version : Arraystore with formlayout

23 Sep 2009, 11:59 AM
Can someone please tell me what the best way to use an arraystore with a form so that the when a user updates a field in the form, it automatically takes care of updating the arraystore so that the save() is fired and the url is called?

Currently I have a store, and I'm using a crude

items: [{
fieldLabel: 'Decscription',
id: 'description',
name: 'description',
value: store.get("description")

But if I use this, then I need to by hand figure out what has changed when the user hits the save button. I figure there must be a better way....

If I can't do something in a more automated fashion, what would be the best way to get the update of description back into the store so that the store knows to mark itself dirty.

Thanks ahead of time!

8 Oct 2009, 7:17 AM
store.get('description') ???