Keyboard Support
A user can interact with the UI component using the following keys:
Key | Action |
---|---|
← → ↑ ↓ |
|
Shift + Mouse Wheel | Scrolls the content left/right if the horizontal scrolling is taking place. |
Enter |
|
F2 | Switches a cell to the editing state.3 |
Esc | Cancels changes made in a cell or row and switches it back to its normal state. |
Alt + ↓ | Opens a drop-down editor (a select box4, a calendar5, etc.) in the editing state. |
Space | Selects the focused row and clears the selection of previously selected rows.3 |
Ctrl + ↑ ↓ | Navigates between a column header, filter row, data area, filter panel, and pager. |
Ctrl + Space or Ctrl + Click | Selects or clears the selection of the focused row. Previously selected rows remain selected.7 |
Shift + Space or Shift + Click | Selects or clears the selection of a range of rows between the last selected or deselected and the focused rows.7,8 |
Ctrl + A | Selects all rows.6,9 |
Ctrl + F | Focuses the search panel.10 |
PageUp / PageDown | Navigates to the previous/next page. |
Tab / Shift + Tab | Moves the focus one element forward/back. Focuses the first/last element in the next/previous row if there are no more elements in the current row. |
Shift + Click / Ctrl + Click on a column header |
Applies/clears sorting settings of the column.11 |
- If the enterKeyAction is "startEdit".
- If the edititng.mode is "cell" or "batch" and the enterKeyAction is "moveFocus".
- The editing.mode should be "cell" or "batch".
- A select box appears in a cell of a lookup column.
- A calendar appears in a data cell when a column contains "date" type data.
- The selection.mode should be different from "none".
- The selection.mode should be "multiple".
- If the scrolling.mode is "virtual", the rows should be visible simultaneously. If the mode is "standard", the rows should be on one page.
- selection.allowSelectAll should be true.
- The search panel should be visible.
- The sorting.mode should be "multiple".
You can override these shortcuts or create your own shortcuts using the onKeyDown event handler.
Feedback