5.0
Implementing core features
Keyboard shortcuts

About keyboard events

ReactGrid allows you to interact with the grid using keyboard shortcuts in a way known from other spreadsheet-like apps.

Note: You can customize keyboard shortcuts by overriding the default behavior of ReactGrid.

Keyboard shortcuts

ShortcutAction
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)
EnterOpens cell editor if cell is focused or moves focus down inside range selection
Delete or BackspaceWipe selected range or only focused location
TabMoves focus to the right if single cell is selected or moves focus to the right inside range selection
HomeMoves focus to the first column
EndMoves focus to the last column
PageUpMoves focus up by one page (visible number of rows)
PageDownMoves focus down by one page (visible number of rows)
EscapeAborts cell edition without changing it
Ctrl + SpaceExpands 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 + ASelects all cells
+ Home or Ctrl + HomeSelects top left cell
+ End or Ctrl + EndSelects bottom right cell
Ctrl + EndSelect whole column on Windows
Shift + EnterCloses 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 + TabMoves focus to the left if single cell is selected or moves focus to the left inside range selection
Shift + EnterMoves focus one cell above if single cell is selected or moves focus up inside range selection
Shift + SpaceExpands selection in horizontal direction (from top to bottom)
Shift + HomeExpands selection to the first column
Shift + EndExpands selection to the last column
Shift + PageUpIncrease or decrease selection by single page
Shift + PageDownIncrease or decrease selection by single page