change cell + dirty = true (red triangle)
i have a grid, and when a click a button i want all rows in a column have the same value.
That is ok, i can do it.
What i can
Sencha - Ext JS Dev Team
I want to modified a cell programatically.
if i change the values in dom and add to the modified table, the red triangles dosent appear and if i make rejectChanges it dosent undo into the original state.
what i want to do is put all rows in a column equal to the first row, but as modified cells, so i can make rejectChanges or CommitChanges.
if you can help, i would be gratefull
Thanks in advance.
make changes to the store, not the dom!
which method is approriate to change a cell content in the store ?
Have you consulted the Grid FAQ? There's an item in there on this topic.
i've found it
var rec = ds.getAt(i);
Thank's to all