Reputation: 640
I need to set value to particular cell from outside of grid.
My value is in session and i want to set this value to a cell in 2nd column and 0th row. How i can do this in extjs?
Upvotes: 8
Views: 26202
Reputation: 142
you must use the store associated with your grid
var grid = ...
var models = grid.getStore().getRange();
models[0].set(fieldName, "new value");
Upvotes: 9