Skip to content

Access all Handsontable features using just your keyboard. Use shortcuts you know from Google Sheets or Microsoft Excel.

Overview

This page lists all of Handsontable’s default keyboard shortcuts.

These keyboard shortcuts work when you navigate the grid. They come from Handsontable’s Core, so they work out of the box, with no need for additional plugins.

WindowsmacOSActionExcelSheets
Arrow keysArrow keysMove one cell up, down, left, or right
Ctrl+BackspaceCmd+BackspaceScroll the viewport to show the focused cell
Ctrl+Cmd+Move to the first cell of the current column
Ctrl+Cmd+Move to the last cell of the current column
Ctrl+Cmd+Move to the leftmost cell of the current row
Ctrl+Cmd+Move to the rightmost cell of the current row
F2F2Enter the editing mode of the active cell
EnterEnterEnter the editing mode of the active cell
Shift+EnterShift+EnterEnter the editing mode of the active cell
Ctrl+Shift+EnterCmd+Shift+EnterSave and close editor
Alphanumeric keysAlphanumeric keysEnter the editing mode of the active cell and enter the pressed key’s value into the cell
TabTabMove to the next cell* (if there’s only one column available, move one cell down)
Shift+TabShift+TabMove to the previous cell* (if there’s only one column available, move one cell up)
HomeHomeMove to the first non-frozen cell of the current row*
Ctrl+HomeCmd+HomeMove to the first non-frozen cell of the grid*
EndEndMove to the last non-frozen cell of the current row*
Ctrl+EndCmd+EndMove to the last non-frozen cell of the grid*
Page UpPage UpMove one screen up
Page DownPage DownMove one screen down

* This action depends on your layout direction.

Selection keyboard shortcuts

These keyboard shortcuts help you select cells. They come from Handsontable’s Core, so they work out of the box, with no need for additional plugins.

WindowsmacOSActionExcelSheets
Ctrl+ACmd+ASelect all cells
Ctrl+Shift+SpaceCmd+Shift+SpaceSelect all cells and headers
Ctrl+SpaceCtrl+SpaceSelect the entire column*
Shift+SpaceShift+SpaceSelect the entire row
Ctrl+Shift+Cmd+Shift+Extend the selection to the first cell of the current column**
Ctrl+Shift+Cmd+Shift+Extend the selection to the last cell of the current column**
Ctrl+Shift+Cmd+Shift+Extend the selection to the leftmost cell of the current row**
Ctrl+Shift+Cmd+Shift+Extend the selection to the rightmost cell of the current row**
Shift + Arrow keysShift + Arrow keysExtend the selection by one cell
Shift+HomeShift+HomeExtend the selection to the first non-frozen cell of the current row***
Shift+EndShift+EndExtend the selection to the last non-frozen cell of the current row***
Shift+Page UpShift+Page UpExtend the selection by one screen up
Shift+Page DownShift+Page DownExtend the selection by one screen down
Ctrl+EnterCmd+EnterFill the selected range of cells with the value of the active cell
DeleteDeleteClear the contents of the selected cells
BackspaceBackspaceClear the contents of the selected cells

* Does not work on macOS with multiple keyboard layouts. To work around this issue, add Fn to the key combination.
** In case of multiple selection layers, only the last selection layer gets extended.
*** This action depends on your layout direction.

Edition keyboard shortcuts

These keyboard shortcuts work when you’re editing a cell’s contents. They come from Handsontable’s Core, so they work out of the box, with no need for additional plugins.

WindowsmacOSActionExcelSheets
Arrow keysArrow keysMove the cursor through the text
Alphanumeric keysAlphanumeric keysEnter the pressed key’s value into the cell
EnterEnterComplete the cell entry and move to the cell below
Shift+EnterShift+EnterComplete the cell entry and move to the cell above
TabTabComplete the cell entry and move to the next cell*
Shift+TabShift+TabComplete the cell entry and move to the previous cell*
DeleteDeleteDelete one character after the cursor*
BackspaceBackspaceDelete one character before the cursor*
HomeHomeMove the cursor to the beginning of the text*
EndEndMove the cursor to the end of the text*
Ctrl + Arrow keysCmd + Arrow keysMove the cursor to the beginning or to the end of the text
Ctrl+Shift + Arrow keysCmd+Shift + Arrow keysExtend the selection to the beginning or to the end of the text
Page UpPage UpComplete the cell entry and move one screen up
Page DownPage DownComplete the cell entry and move one screen down
Alt+EnterOption+EnterInsert a line break
Ctrl+EnterCtrl/Cmd+EnterInsert a line break
EscapeEscapeCancel the cell entry and exit the editing mode

* This action depends on your layout direction.

Checkbox editor keyboard shortcuts

These keyboard shortcuts work in the checkbox cell editor.

WindowsmacOSActionExcelSheets
SpaceSpaceCheck or uncheck the checkbox
EnterEnterCheck or uncheck the checkbox
DeleteDeleteUncheck the checkbox
BackspaceBackspaceUncheck the checkbox

handsontable editor keyboard shortcuts

These keyboard shortcuts work in the handsontable cell editor.

WindowsmacOSActionExcelSheets
Move to the cell above the active cell
Move to the cell below the active cell

Plugin keyboard shortcuts

These keyboard shortcuts work with particular plugins.

Clipboard keyboard shortcuts

These keyboard shortcuts work when the CopyPaste plugin is enabled.

WindowsmacOSActionExcelSheets
Ctrl+XCmd+XCut the contents of the selected cells to the system clipboard
Ctrl+CCmd+CCopy the contents of the selected cells to the system clipboard
Ctrl+VCmd+VPaste from the system clipboard

Cell merging keyboard shortcuts

These keyboard shortcuts work when the MergeCells plugin is enabled.

WindowsmacOSActionExcelSheets
Ctrl+MCtrl+MMerge or unmerge the selected cells

Undo and redo keyboard shortcuts

These keyboard shortcuts work when the UndoRedo plugin is enabled.

WindowsmacOSActionExcelSheets
Ctrl+ZCmd+ZUndo the last action
Ctrl+YCmd+YRedo the last action
Ctrl+Shift+ZCmd+Shift+ZRedo the last action

Context menu keyboard shortcuts

These keyboard shortcuts work in context menus. To activate them, enable the ContextMenu plugin.

WindowsmacOSActionExcelSheets
Ctrl+Shift+\ or Shift+F10Cmd+Shift+\ or Shift+F10Open the context menu
Arrow keysArrow keysMove one available menu item up, down, left, or right
Page UpPage UpMove to the first visible item of the context menu or submenu
Page DownPage DownMove to the last visible item of the context menu or submenu
EscapeEscapeClose the context menu or submenu
EnterEnterRun the action of the selected menu item

Column groups keyboard shortcuts

These keyboard shortcuts work in column groups, also known as “nested headers”. To activate them, enable the NestedHeaders plugin.

WindowsmacOSActionExcelSheets
EnterEnterCollapse or expand the column group

Row parent-child keyboard shortcuts

These keyboard shortcuts work in row groups, also known as “nested rows”. To activate them, enable the NestedRows plugin.

WindowsmacOSActionExcelSheets
EnterEnterCollapse or expand the row group

Rows sorting keyboard shortcuts

These keyboard shortcuts work with rows sorting. To activate them, enable the ColumnSorting, or the MultiColumnSorting plugin.

WindowsmacOSActionExcelSheets
EnterEnterSort data by the selected column, in ascending, descending, or the original order
Shift+EnterShift+EnterSort data by multiple columns, in ascending, descending, or the original order. Requires the MultiColumnSorting plugin.

Column menu keyboard shortcuts

These keyboard shortcuts work with the column menu. To activate them, enable the DropdownMenu plugin.

WindowsmacOSActionExcelSheets
Shift+Alt+Shift+Option+Open the column menu. Works in any cell, if the respective column header displays the menu button.
Ctrl+EnterCmd+EnterOpen the column menu. Works only when you’re selecting a column header that displays the column menu button.

Column filter keyboard shortcuts

These keyboard shortcuts work with the column filter. To activate them, enable the Filters plugin and the DropdownMenu plugin.

WindowsmacOSActionExcelSheets
Alt+AOption+AClear all filters

Comments keyboard shortcuts

These keyboard shortcuts work with comments. To activate them, enable the Comments plugin.

WindowsmacOSActionExcelSheets
Ctrl+Alt+MCtrl+Option+MAdd or edit a comment
Ctrl+EnterCmd+EnterSave and exit the current comment
EscapeEscapeExit the current comment without saving
TabTabSave and exit the current comment, move the selection to the next cell
Shift + TabShift + TabSave and exit the current comment, move the selection to the previous cell

API reference

For the list of options, methods, and Handsontable hooks related to keyboard navigation, see the following API reference pages:

APIs

Configuration options

Core methods

Hooks

Troubleshooting

Didn’t find what you need? Try this: