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

[data grid] Use React.useState to track the cells in edit mode. #5625

Open
joserodolfofreitas opened this issue Jul 26, 2022 · 1 comment
Open
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Editing Related to the data grid Editing feature v6.x

Comments

@joserodolfofreitas
Copy link
Member

joserodolfofreitas commented Jul 26, 2022

Summary

Use React.useState to track the cells in edit mode, instead of the grid's state

Motivation

@joserodolfofreitas joserodolfofreitas added breaking change component: data grid This is the name of the generic UI component, not the React module! v6.x feature: Editing Related to the data grid Editing feature labels Jul 26, 2022
@joserodolfofreitas joserodolfofreitas changed the title Use React.useState to track the cells in edit mode, instead of the grid's state [data grid] Use React.useState to track the cells in edit mode. Jul 26, 2022
@mfteuscher
Copy link

Will the useState be able to track the cell's error state if validation is being used? (The MuiDataGridEditInputCell prop error)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Editing Related to the data grid Editing feature v6.x
Projects
None yet
Development

No branches or pull requests

4 participants