-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[DataGridPremium] Fix boolean cell not rendered in group rows #12492
Conversation
Deploy preview: https://deploy-preview-12492--material-ui-x.netlify.app/ |
@@ -140,7 +140,7 @@ const GridBooleanCell = React.memo(GridBooleanCellRaw); | |||
export { GridBooleanCell }; | |||
|
|||
export const renderBooleanCell: GridColDef['renderCell'] = (params: GridBooleanCellProps) => { | |||
if (isAutoGeneratedRow(params.rowNode)) { | |||
if (params.field !== '__row_group_by_columns_group__' && isAutoGeneratedRow(params.rowNode)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated logic doesn't show any content if row is autogenerated
and row is not grouped by that column.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
closes: #11031
preview: https://deploy-preview-12492--material-ui-x.netlify.app/x/react-data-grid/#premium-plan
before
after