chrismcnally
7 May 2009, 8:44 AM
I am trying to catch the down arrow key in the editor grid and I can do this in IE and in Hosted Mode, but in Firefox my handler is not called for the down arrow or up arrow keys. Tab is working:
editField = new NumberField();
CellEditor ce = new CellEditor(editField);
ce.addListener(Events.SpecialKey, new Listener<DomEvent>() {;
public void handleEvent(DomEvent e) {
Log.logger.debug("SPECIAL KEY " + e.getKeyCode());
}
});
colConfig.setEditor(ce);
In firefox, this is only triggered by the tab key, in IE and Hosted Mode, it works.
editField = new NumberField();
CellEditor ce = new CellEditor(editField);
ce.addListener(Events.SpecialKey, new Listener<DomEvent>() {;
public void handleEvent(DomEvent e) {
Log.logger.debug("SPECIAL KEY " + e.getKeyCode());
}
});
colConfig.setEditor(ce);
In firefox, this is only triggered by the tab key, in IE and Hosted Mode, it works.