biohazardo
13 Feb 2012, 4:31 AM
Hello. After editing grid cell I need to open edit field in same cell in next row. I can't find id of selected cell. Trying that code on the Editor:
specialkey: function(field, e){
if (e.getKey() == e.ENTER) {
var grid = Ext.getCmp('sheetproductionrestin').getSelectionModel( ).getSelection();
alert(grid.get('id'));
}
}
It's answering: "Uncaught TypeError: Object [object Object] has no method 'get'". How can I take id, select next row and open editor there? Help, please
specialkey: function(field, e){
if (e.getKey() == e.ENTER) {
var grid = Ext.getCmp('sheetproductionrestin').getSelectionModel( ).getSelection();
alert(grid.get('id'));
}
}
It's answering: "Uncaught TypeError: Object [object Object] has no method 'get'". How can I take id, select next row and open editor there? Help, please