react-spreadsheet icon indicating copy to clipboard operation
react-spreadsheet copied to clipboard

Parse data after edit/paste

Open benediktvaldez opened this issue 4 years ago • 1 comments

Is there a way to provide a custom function to parse pasted data? Similar to parsePaste in react-datasheet

Is there a way to provide a custom function to parse edited data? As in, when the user is done editing and exits edit mode, I'd like to validate the value and possibly autoformat it for example.

I'd actually love to be able to set a “valid/invalid” state per cell (I'm doing it now via custom DataViewer which is fine I guess)

benediktvaldez avatar May 26 '21 12:05 benediktvaldez

Great idea, I'm pretty busy right now to implement it myself but PRs are welcome

iddan avatar May 30 '21 07:05 iddan