Keyboard navigation

The following keystrokes are built into the AdvancedDataGrid control to let users navigate the control:

Keyboard action

Key assignments

Standard

  • Use the Up and Down Arrow keys to scroll vertically by one row.

  • Type characters to do incremental type-ahead look-ups in the first column.

  • Use the Home and End keys to move to the first and last rows.

  • Use the Page Up and Page Down keys to move to the last visible row and then scroll vertically by the number of rows specified by the rowcount property.

In editable mode

  • Use the Tab and Shift+Tab keys to move to the next and previous cells, and start editing.

  • Use the Escape or Control+Period keys to cancel editing.

  • Use the Enter key based on the value of the AdvancedDataGridColumn.editorUsesEnterKey property:

  • If editorUsesEnterKey=true, the Enter key is considered to be part of the input text.

  • If editorUsesEnterKey=false, if single-line editor, the Enter key saves the item and moves down a row.

  • If you use the Tab key to move focus to the AdvancedDataGrid control, focus is placed on the position of the last edited item.

  • Use the Control click keys to select multiple discontiguous items.

For the expandable tree

  • Use the Multiply key on the number pad (asterisk) to open or close all nodes under the current node, with no animation.

  • Use the Add key on the number pad or the Space key to open nodes with animation.

  • Use the Subtract key on the number pad to close nodes with animation.

  • Use the Control+Shift+Space key to open a closed node, or close an open node.

  • Use the Control+Shift+Right Arrow key to open a closed node, or select the parent node of a leaf node.

  • Use the Control+Shift+Left Arrow to close open nodes.

  • Use the Up and Down Arrow keys to move up and down one row.

For column headers

  • Use the arrow keys to move focus to a column header.

  • The first Space key pressed when a column header has focus sorts the column in descending order. Each subsequent press of the Space key toggles the sort order between ascending and descending order.

  • Use the Control+Space keys when a header has focus to sort multiple columns.

  • Use the Left Arrow and Right Arrow keys to move to the previous or next header, without column wrapping.

To scroll vertically and horizontally in pages

  • The first Page Up or Page Down key pressed move to the first or last visible row. The next Page Up or Page Down key pressed scrolls vertically up or down by a page, which corresponds to the number of visible rows.

  • Use the Shift+Page Up and Shift+Page Down keys to move to first or last visible column.

To move focus out of AdvancedDataGrid while editing is in progress

When you set AdvancedDataGrid.editable=true or AdvancedDataGridColumn=true:

  • Use the Tab key to move focus to the AdvancedDataGrid control.

  • Use the Tab key again to move focus to the next component.

  • Use the Left, Right, Up, and Down Arrow keys to move between cells.

  • Use the Shift+Home and Shift+End keys to move to the first and last column in current row.

  • Cells are only selected by default, they are not editable.

  • Press the F2 key to make a cell editable.

  • Use the arrow keys to move the cursor in the editing area.

  • Use the Escape key to cancel editing.

  • Use the Enter key to commit editing changes.

  • Same behavior as when editable=true, but the F2 key does not make the cell editable.

  • Use the Home and End keys to move to first and last rows.

  • Use the Page Up and Page Down keys to move to the previous and next pages.

When focus is on the AdvancedDataGrid control:

  • Use the Left, Right, Up, and Down Arrow keys to move between cells.

  • Use the Shift+Home and Shift+End keys to move to the first and last column in current row.

  • Cells are only selected by default, they are not editable.

  • Press the F2 key to make a cell editable.

  • Use the arrow keys to move the cursor in the editing area.

  • Use the Escape key to cancel editing.

  • Use the Enter key to commit editing changes.

  • Same behavior as when editable=true, but the F2 key does not make the cell editable.

  • Use the Home and End keys to move to first and last rows.

  • Use the Page Up and Page Down keys to move to the previous and next pages.

When editing the cell:

  • Use the arrow keys to move the cursor in the editing area.

  • Use the Escape key to cancel editing.

  • Use the Enter key to commit editing changes.

  • Same behavior as when editable=true, but the F2 key does not make the cell editable.

  • Use the Home and End keys to move to first and last rows.

  • Use the Page Up and Page Down keys to move to the previous and next pages.

When you set AdvancedDataGrid.editable=false or AdvancedDataGridColumn=false:

  • Same behavior as when editable=true, but the F2 key does not make the cell editable.

  • Use the Home and End keys to move to first and last rows.

  • Use the Page Up and Page Down keys to move to the previous and next pages.