[DataGrid] How to change the value of non-editable cells onCellClick #10975
Labels
component: data grid
This is the name of the generic UI component, not the React module!
support: commercial
Support request from paid users
The problem in depth 🔍
I'm rendering a DataGridPremium component with non-editable cells,
What I want is, when the user clicks on a cell, if the value of that cell is, lets say "1", to set the value of that cell to '0' programmatically.
I've tried with
apiRef.current.setEditCellValue
without success.I don't know how to go about this.
Thank you.
Your environment 🌎
`npx @mui/envinfo`
Search keywords: DataGrid cells onCellClick
Order ID: 67568
The text was updated successfully, but these errors were encountered: