Repository navigation
Document the keyboard shortcuts in the README - #4253
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
F2 has no dedicated handling, it only opens the editor like any other key that isn't a modifier, navigation, or function key. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Backspace and Delete have no dedicated handling either, and listing them suggests they clear the cell, as in spreadsheets. Co-Authored-By: Claude Opus 5.5 <[email protected]>
nstepien
approved these changes
Oct 27, 2026
|
|
||
| | Keys | Action | | ||
| | --------------------------------- | -------------------------------------------------------------------------------- | | ||
| | <kbd>Shift</kbd>+<kbd>Space</kbd> | Select or deselect the [row](#selectedrows-maybereadonlysetk) of the active cell | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a short Keyboard Shortcuts section to the README, linked from the table of contents. It lists the grid's default keys for navigation, editing, selection, and header cells. Users had no way to discover shortcuts like Shift+Space row selection or Ctrl+←/→ column resizing.
The section only lists the keys. For the conditions, such as which props enable selection, sorting, copy and paste, it links to the existing API docs, and it links to the
TreeDataGridsection for the tree grid keys.How it was checked
DataGrid.tsx,keyboardUtils.ts,EditCell.tsxandHeaderCell.tsx.onCellKeyDownnot being called for header cells.vp checkandvp run eslintpass.Notes, not changed in this PR
stopPropagation(), notpreventDefault(), so ⌘+← might also trigger the browser's Back shortcut. That's the existingTODOinHeaderCell.tsx.onCellCopyandonCellPastestill fire, which may be unintended.🤖 Generated with Claude Code