How to determine the selected cell of a Ext.grid.Panel in ExtJS 4?
问题 how can i get the selected cell of a Ext.grid.Panel? In ExtJS 3 it was possible via: grid.getSelectionModel().getSelectedCell() In Ext 4 there is grid.getSelectionModel().selected but this only gives me the record. 回答1: There may be a more direct way to do this but the following seems to work for me: grid.view.getCellByPosition(grid.getSelectionModel().getCurrentPosition()); 回答2: I ended up needing the actual column that the user was clicking on and discovered the following: grid.panel