0 Replies Latest reply on Dec 22, 2008 3:36 PM by keavney

    TAB key doesn't advance in dataGrid with ItemRenderer

    keavney
      I'm having trouble getting the TAB key to advance to the next field in a dataGrid.

      Sample code below. TAB works fine in the first dataGrid, where I use the default way to display data, and also in the second, where I use a textInput box within the data grid as an itemRenderer. But in the third dataGrid, where I put the textInput box in an HBox to center it and limit the size, the TAB key doesn’t work anymore.

      I could try to do this manually, and I know how to capture the TAB event to do that, but I don't know how to refer to the next object in the dataGrid to set the correct focus.

      Any help would be much appreciated.