28 Feb 2008 8:36 AM #1
Where update the record in a livegrid?
I got a GridPanel and an Object Record in fact i want update the record in my grid with the record saved in js.
So i did this in my View "this.fireEvent("rowupdated", this, key, record);"
But didn't work.
I don't know how and where update my Record loaded by my variable Record.
NB: I use the livegrid.
29 Feb 2008 1:24 AM #2
In fact i know we must update the record of the store.
So i can do this :
var myRecordSaved = /* backup of one record */; // The record to update by myRecordSaved var myRecordStore = this.ds.getAt(key); myRecordStore.set('label', myRecordSaved .get("label"));
myRecordStore = myRecordSaved;
29 Feb 2008 5:29 AM #3