Reputation: 3896
I have a form and below that a grid. When a add some data in form and click "Insert", it inserts data in grid. When i double click on grid all the data from grid fills up in form. I then change the data. (similar to Ext.data.DataWriter Example)
The problem is I am not able to "UPDATE" row in grid. I am not using datawriter class. But I just simply want to update my grid row with new data.
Is there a way to do this???????
Upvotes: 3
Views: 3761
Reputation: 3896
I finally found answer to my question....
its Record class's method:
set( String name, String/Object/Array value ) : void
So you can use it like this: record.set('fieldname', 'newvalue');
Thanks everyone.... Regards
Upvotes: 3