0 Replies Latest reply on Jul 25, 2007 7:19 AM by Misenko

    DataGrid - ItemEditor - Events

    Misenko Level 1
      Hi,

      I have one question. Standart behaviour of the datagrid is, that if you edit the cell and press enter, focus is moved in the cell on the next row and the cell is again editable. It is possible to do that if I press enter the cell is edited and unfocused and the cell bellow is no longer editable??? I've noticed that in the DataGrid class is event listener which handle Enter and ECS keys. It calls editorKeyDownHandler function which is private. It is possible to override this behaviour in some way???

      Whole function is:
      // listen for keyStrokes on the itemEditorInstance (which lets the grid supervise for ESC/ENTER)
      DisplayObject(itemEditorInstance).addEventListener(KeyboardEvent.KEY_DOWN, editorKeyDownHandler);

      thanks for help