[DataGrid] renderCell
params.row
values on an auto-generated grouping row
#12244
Labels
component: data grid
This is the name of the generic UI component, not the React module!
Steps to reproduce
Link to live example
Current behavior
params.row.lastName
andparams.row.someOtherProperty
are undefined within therenderCell
call of an autogenerated grouping row.Expected behavior
No response
Context
I'm trying to render a custom component using other properties on a row model (that don't have their own columns) for a particular column but also want to use that custom render for the grouping row as well.
The problem is that I can't access the row model in the grouping column.
Your environment
npx @mui/envinfo
Search keywords: rendercell datagrid params.row row model
The text was updated successfully, but these errors were encountered: