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

readOnly prop on the DataSheet component #115

Open
educastellano opened this issue Aug 21, 2018 · 1 comment
Open

readOnly prop on the DataSheet component #115

educastellano opened this issue Aug 21, 2018 · 1 comment

Comments

@educastellano
Copy link
Contributor

It would be useful to just pass a prop when you want the entire sheet to be readOnly, so it would save me to loop all the cells.

Would you accept a PR with this feature?

@jakehjung
Copy link

jakehjung commented Apr 10, 2020

You can actually do this instead for a workaround:

<ReactDataSheet data={grid} valueRenderer={cell => { cell.readOnly = true; return cell.value; }} />

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