I am beginning with ExtJS. I am trying to read a value from a cell that is selected
I use an EditorGrid and the store looking like that :
my_store = new Ext.data.JsonStore({
root: topics ,
totalProperty: totalCount ,
idProperty: details_id ,
fields: [
{name : index , type : int },
{name : inactive , type : int },
{name : c_1 , type : string },
{name : c_2 , type : string },
{name : c_3 , type : string },
{name : c_4 , type : string }
],
proxy: new Ext.data.ScriptTagProxy({
url: my_proxy_url
})
});
到目前为止,这是我用来检索选定牢房的浏览器和栏目:
var column = grid.getSelectionModel().selection.cell[0];
var row = grid.getSelectionModel().selection.cell[1];
我怎么能够读到电网中某个选定电池的价值并改变这一价值?