DataGrid.setTabAction

Overview | Methods | Fields | This Package | All Packages

DataGrid.setTabAction

Sets a value indicating the behavior of the TAB key within the grid.

Syntax

public void setTabAction( int action )

Parameters

action

One of the constants defined by the TabAction class. The default value of the tabAction property is TabAction.CONTROLNAVIGATION.

Exceptions

WFCInvalidArgumentException thrown if action is not a valid action for the TAB key.

Remarks

If the tabAction property is set to TabAction.COLUMNNAVIGATION or TabAction.ROWNAVIGATION, and the wrapCellPointer property is set to true, the current cell focus can wrap around rows or columns. For example, if the tabAction property is set to COLUMNNAVIGATION and the current cell focus is in the last column of the row, pressing the TAB key will move the focus to the first column in the next row.

You can further define keyboard navigation in the grid by setting the allowArrows and enterAction properties.

See Also   getTabAction