I have the grid with cell editing. When someone press enter in the celleditor - extjs need to open editor in next row and same cell. I know, that this action does startEdit() method of CellEditing class. But how can I access CellEditing of that grid from listener of CellEditor.
listeners:{
specialkey: function(field, e){
if (e.getKey() == e.ENTER) {
var grid = Ext.getCmp('sheetproductionrestin');
var store = Ext.getCmp('sheetproductionrestin').store;
var selModel = grid.getSelectionModel();
var selectedRecord = selModel.getLastSelected();
var recordIndex = store.indexOf(selectedRecord);
var nextRecord = store.getAt(recordIndex + 1);
selModel.select(nextRecord);
}
}
}
This code makes next row focused, but how can I access Editing Plugin and call StartEdit from here?