Skip to content

chore: create table copy/paste functionality#1820

Open
scottdover wants to merge 15 commits into
mainfrom
feat/clipboard
Open

chore: create table copy/paste functionality#1820
scottdover wants to merge 15 commits into
mainfrom
feat/clipboard

Conversation

@scottdover

@scottdover scottdover commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Summary:
This introduces copy/paste for tables. A user is able to make a selection by clicking and dragging up or down, but not left to right. Additionally, there's no keyboard accessibility included as this time.

Scrolling left to right has been left out of this because of how column pinning works. If a user pins columns to the left, and drags to select, do we include those in the selection? Currently, we can't get them to scroll of page (otherwise, they aren't pinned). Additionally, if we have columns that are pinned to the right, there's not a good path forward of how those should be included in the selection. One thing worth exploring is unpinning columns just as we start to drag, and re-pinning after. One thing to look out for is if this causes a layout shift.

Keyboard accessibility is in the works. You can see some code in place for it. However, I've been unable to get it working without error. It would be my suggestion to get this in, and follow-up with a separate PR for including keyboard accessibility.

Testing:

  • Make sure dragging selection works on table data, but doesn't negatively
    impact dragging columns around
  • Make sure table selection includes data underneath selection rectangle,
    along with headers for that data
  • Make sure pinned columns could be selected and that the resulting csv
    data is organized in order of how it's displayed in the table

@scottdover scottdover force-pushed the feat/clipboard branch 2 times, most recently from ad39ab9 to d57fa15 Compare April 27, 2026 14:14
@scottdover scottdover force-pushed the feat/clipboard branch 2 times, most recently from c956b59 to 9734862 Compare May 8, 2026 17:11
@scottdover scottdover marked this pull request as ready for review May 20, 2026 14:30
@scottdover scottdover changed the title exp: create table copy/paste functionality chore: create table copy/paste functionality May 20, 2026
@scottdover scottdover force-pushed the feat/clipboard branch 4 times, most recently from 00df3e9 to 1ba1627 Compare June 1, 2026 15:23
Scott Dover added 13 commits June 15, 2026 13:51
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Scott Dover added 2 commits June 26, 2026 11:16
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Signed-off-by: Scott Dover <Scott.Dover@sas.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants