Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect what cells (rows) have been changed after clipboard paste #175

Open
phen0menon opened this issue Sep 27, 2021 · 0 comments
Open

Detect what cells (rows) have been changed after clipboard paste #175

phen0menon opened this issue Sep 27, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@phen0menon
Copy link
Contributor

phen0menon commented Sep 27, 2021

It is amazing that there is an opportunity to copy a particular columns in the table! But without a connection to a server (backend), this possibility does not make sense.

Connection with backend can be achieved using onChange prop of Spreadsheet component by comparing a previous table array with an actual table array. However when there are a lot of rows/cols in the table, this comparison is a bit slow at performance to just get pasted table data.

I think it would be cool to have the onClipboardPaste(rows: Array<number>) (where rows is the property that contains indices of rows that have been changed) property of the Spreadsheet component.

Could it be implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants