gridcn2.0.0
Cheatsheets and messages

Keyboard shortcuts

Look up the default key of every grid action, and the keymap name that rebinds it.

Mod is the Cmd key on macOS and the Ctrl key elsewhere. The ctrl keys are the physical Ctrl key on every platform. Rebind a key with the keymap prop on the keymap name in the third column. The built-in editors handle their keys themselves, and bind no keymap name to Enter, Shift+Enter, Tab, or Shift+Tab. Outside an edit, Escape clears the selection and the checked rows.

Ctrl+Space (selectColumn) can switch the input source on macOS and toggle the IME on Windows with a Chinese layout. Rebind selectColumn when that shortcut is on.

Common keys

These keys cover most daily work. The sections below list every action.

ActionKeysKeymap name
Move downArrowDownmoveDown
Extend selection downShift+ArrowDownextendDown
Select allMod+AselectAll
CopyMod+Cnone
PasteMod+Vnone
Edit cellEnter, F2, Spaceedit
Cancel editEscapecancel
Delete contentsDelete, BackspaceclearContents
UndoMod+Zundo
RedoMod+Y, Mod+Shift+Zredo
Fill downMod+DfillDown

Every action by group: Navigation, Selection, Editing, Clipboard & Fill, History, Other keys.

ActionKeysKeymap namePage
Open or close groupEnter, SpacetoggleGroupRowKeyboard navigation
Open groupArrowRightexpandGroupRowKeyboard navigation
Close groupArrowLeftcollapseGroupRowKeyboard navigation
Move upArrowUpmoveUpKeyboard navigation
Move downArrowDownmoveDownKeyboard navigation
Move leftArrowLeftmoveLeftKeyboard navigation
Move rightArrowRightmoveRightKeyboard navigation
Move up (keep selection)Alt+ArrowUpmoveUpKeepSelectionKeyboard navigation
Move down (keep selection)Alt+ArrowDownmoveDownKeepSelectionKeyboard navigation
Move left (keep selection)Alt+ArrowLeftmoveLeftKeepSelectionKeyboard navigation
Move right (keep selection)Alt+ArrowRightmoveRightKeepSelectionKeyboard navigation
Scroll active cell into viewMod+EnterscrollActiveIntoViewKeyboard navigation
Move to row startHomemoveRowStartKeyboard navigation
Move to row endEndmoveRowEndKeyboard navigation
Jump to edge (up)Mod+ArrowUpjumpUpKeyboard navigation
Jump to edge (down)Mod+ArrowDownjumpDownKeyboard navigation
Jump to edge (left)Mod+ArrowLeftjumpLeftKeyboard navigation
Jump to edge (right)Mod+ArrowRightjumpRightKeyboard navigation
Move to first cellMod+HomemoveFirstCellKeyboard navigation
Move to last cellMod+EndmoveLastCellKeyboard navigation
Page upPageUppageUpKeyboard navigation
Page downPageDownpageDownKeyboard navigation

Selection

ActionKeysKeymap namePage
Extend selection upShift+ArrowUpextendUpKeyboard navigation
Extend selection downShift+ArrowDownextendDownKeyboard navigation
Extend selection leftShift+ArrowLeftextendLeftKeyboard navigation
Extend selection rightShift+ArrowRightextendRightKeyboard navigation
Extend selection to edge (up)Mod+Shift+ArrowUpextendJumpUpKeyboard navigation
Extend selection to edge (down)Mod+Shift+ArrowDownextendJumpDownKeyboard navigation
Extend selection to edge (left)Mod+Shift+ArrowLeftextendJumpLeftKeyboard navigation
Extend selection to edge (right)Mod+Shift+ArrowRightextendJumpRightKeyboard navigation
Extend selection to first cellMod+Shift+HomeextendFirstCellKeyboard navigation
Extend selection to last cellMod+Shift+EndextendLastCellKeyboard navigation
Check rows up to the first rowShift+HomeextendRowsToStartChecked rows
Check rows down to the last rowShift+EndextendRowsToEndChecked rows
Check rows up one pageShift+PageUpextendRowsPageUpChecked rows
Check rows down one pageShift+PageDownextendRowsPageDownChecked rows
Select rowShift+SpaceselectRowKeyboard navigation
Select columnCtrl+SpaceselectColumnKeyboard navigation
Select allMod+AselectAllKeyboard navigation
Check or uncheck rowCtrl+Shift+SpacetoggleRowChecked rows
Check or uncheck all rowsMod+Shift+EntertoggleAllRowsChecked rows
Open column menuShift+Alt+ArrowDownopenColumnMenuColumn headers and groups
Open column filterShift+Alt+ArrowUpopenColumnFilterHeader filter
SearchMod+F with DataGridSearchfocusSearchQuick search
Find and replaceShift+Alt+Enter with data-grid-find-replaceopenFindReplaceFind and replace
FindMod+F with data-grid-find-replaceopenFindFind and replace
Open commentsShift+F2 with data-grid-commentsopenCommentsAdd comments to cells

Editing

ActionKeysKeymap namePage
Edit cellEnter, F2, SpaceeditEditable columns
Cancel editEscapecancelEditable columns
Delete contentsDelete, BackspaceclearContentsEditable columns
Insert row belowMod+Shift+FinsertRowBelowRow operations
Duplicate rowMod+Shift+XduplicateRowRow operations
Insert row aboveMod+Shift+UinsertRowAboveRow operations
Delete row(s)Mod+Shift+BackspacedeleteRowsRow operations
Move rows upShift+Alt+PageUpmoveRowsUpRow order
Move rows downShift+Alt+PageDownmoveRowsDownRow order
Move column toward startNone (bind it in keymap)moveColumnTowardStartColumn order and pinning
Move column toward endNone (bind it in keymap)moveColumnTowardEndColumn order and pinning
Widen columnNone (bind it in keymap)widenColumnColumn sizing
Narrow columnNone (bind it in keymap)narrowColumnColumn sizing
Open linkAlt+EnteropenLinkBuilt-in cell types
Open cell menuNone (bind it in keymap)openCellMenuContext menu
Type to replaceAny printable keytypeToReplaceEditable columns

Clipboard & Fill

ActionKeysKeymap namePage
Fill downMod+D with data-grid-fillfillDownFill handle
Fill rightMod+R with data-grid-fillfillRightFill handle
CopyMod+CnoneClipboard
CutMod+XnoneClipboard
PasteMod+VnoneClipboard

History

ActionKeysKeymap namePage
UndoMod+Z with data-grid-historyundoUndo and redo
RedoMod+Y, Mod+Shift+Z with data-grid-historyredoUndo and redo

Other keys

ActionKeysKeymap namePage
Open the shortcuts dialog? with useDataGridKeybindings in pluginsopenKeybindingsShortcut remapping
Open the cell menuShift+F10 with DataGridContextMenu mounted, on Windows and LinuxnoneContext menu
Focus the toolbar searchMod+F with DataGridSearch mounted, while focus is in the grid or its toolbar. With data-grid-find-replace mounted, Mod+F in the grid opens Find, and the toolbar search loses Mod+F. Set focusSearch in keymap to bind another key to the searchfocusSearchQuick search
Use the find panelMod+F focuses the find field. Enter goes to the next match and Shift+Enter to the previous one. Mod+Enter in the replace field replaces every match. Escape closes the panelnoneFind and replace

On this page