1 Reply Latest reply on May 15, 2008 10:08 AM by Gregory Lafrance

    ItemEditor in DataGrid close Button in the ItemEditor?

      I have a DataGrid with an ItemEditor. The ItemEditor consists of 1 TextField and 2 Buttons (Cancel and Submit).

      Now my question: how can I control (cancel or submit) the ItemEditor with this 2 Buttons correctly?

      At present, I use KeyboardEvents. That means when I click the Cancel-Button, I "dispach" the KeyCode 27 to the TextInput in the ItemEditor (and the KeyCode 13 when Submit is clicked).

      Is this good style? Because now I have some problems with the DoubleClickDataGrid - Component from here.