UPDATE row in grid in extjs 3
I have a form and below that a grid. When a add some data in form and click "Insert", it inserts data in g开发者_如何转开发rid. 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???????
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
精彩评论