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

onCellCommmit is not called on cut/paste #34

Closed
ben-pr-p opened this issue May 24, 2019 · 2 comments
Closed

onCellCommmit is not called on cut/paste #34

ben-pr-p opened this issue May 24, 2019 · 2 comments

Comments

@ben-pr-p
Copy link
Contributor

I'm relying on onCellCommit to send changes to my database – right now, it's not called on paste or cut.

Is the best way to implement this to paste props.onCellCommit to paste and cut (at https://github.com/iddan/react-spreadsheet/blob/master/src/Spreadsheet.js#L162 and https://github.com/iddan/react-spreadsheet/blob/master/src/Spreadsheet.js#L155) respectively, and have them call onCellCommit directly for the affected cells from there?

@iddan
Copy link
Owner

iddan commented May 24, 2019

Yes! That would be wonderful

@iddan
Copy link
Owner

iddan commented Jul 12, 2019

Fixed in last versions

@iddan iddan closed this as completed Jul 12, 2019
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

No branches or pull requests

2 participants