Keyboard shortcuts
Some of the available shortcuts are related with only PRO functionality
About keyboard events
ReactGrid allows you to interact with the grid using keyboard shortcuts in a way known from other spreadsheet-like apps.
At this moment we plan to add few callback events for clipboard action like copying, pasting and cutting.
Keyboard shortcuts
| Shortcut | Action |
|---|---|
| ↑ | Moves cell focus one cell up (if is focusable) |
| ↓ | Moves cell focus one cell down (if is focusable) |
| ← | Moves cell focus to the left (if is focusable) |
| → | Moves cell focus to the right (if is focusable) |
| Enter | Opens cell editor if cell is focused or moves focus down inside range selection |
| Delete or Backspace | Wipe selected range or only focused location |
| Tab | Moves focus to the right if single cell is selected or moves focus to the right inside range selection |
| Home | Moves focus to the first column |
| End | Moves focus to the last column |
| PageUp | Moves focus up by one page (visible number of rows) |
| PageDown | Moves focus down by one page (visible number of rows) |
| Escape | Aborts cell edition without changing it |
| Ctrl + Space | Expands selection in vertical direction (only on Apple devices) |
| Ctrl + Shift + Home or ⌘ + Shift + Home | Selects all cells above currect selection |
| Ctrl + Shift + End or ⌘ + Shift + End | Selects all cells below currect selection |
| ⌘ + A or Ctrl + A | Selects all cells |
| ⌘ + Home or Ctrl + Home | Selects top left cell |
| ⌘ + End or Ctrl + End | Selects bottom right cell |
| Ctrl + End | Select whole column on Windows |
| Shift + Enter | Closes cell editor if it is opened and moves focus cell above last edited cell |
| Shift + ↑ | Selects one cell above |
| Shift + ↓ | Selects one cell below |
| Shift + ← | Selects one cell on the left |
| Shift + → | Selects one cell on the right |
| Shift + Tab | Moves focus to the left if single cell is selected or moves focus to the left inside range selection |
| Shift + Enter | Moves focus one cell above if single cell is selected or moves focus up inside range selection |
| Shift + Space | Expands selection in vertical direction (from top to bottom) |
| Shift + Home | Expands selection to the first column |
| Shift + End | Expands selection to the last column |
| Shift + PageUp | Increase or decrease selection by single page |
| Shift + PageDown | Increase or decrease selection by single page |