Hi All i have a flex editable datagrid. By default if i press the left navigation arrow key , it moves to the left but not to the next cell. I would like to override the keydown event such that if the left navigation arrow key is pressed down i set the focus to the next cell on the left.
In short the user needs to be able to navigate using the keyboard through the cells using just like in excel(currently the arrow keys move between characters within a cell).
Since you can’t get away from this requirement. I’d try adding an event listener to the KEY_UP event. If it is a charCode for an arrow key, destroy the itemEditor with the destroyItemEditor method and manually move to the next column by setting the editedItemPosition property.
I’m pretty sure charCode 39 is the right arrow and charCode 37 if the left, at least according to this app .