feat(data-grid): cell-level selection and copy#161
Merged
debba merged 1 commit intoTabularisDB:mainfrom May 6, 2026
Merged
Conversation
Collaborator
|
Interesting, I will test it ASAP |
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
Introduces two distinct, mutually exclusive selection modes in the data grid:
Cell selection — click any data cell to focus it. The focused cell is highlighted with a blue
inset ring. Ctrl/Cmd+C copies that cell's raw value as a string.
Row selection — click the row-number column on the left to select one or more rows (existing
shift-click range and Ctrl/Cmd-click toggle behaviour is unchanged). Ctrl/Cmd+C copies the
selected rows in the configured format (CSV / JSON).
The two modes clear each other: clicking a cell clears any row selection; clicking a row number
clears cell focus. Clicking the # header (select all) also clears cell focus.
A "Copy Cell" item has been added to the right-click context menu as a discoverable alternative
to the keyboard shortcut.
Changes
JSON, geometry, BLOB) and writes it to the clipboard
indicator
(the two states are now mutually exclusive)