-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 print export not working with row grouping #12957
Conversation
Deploy preview: https://deploy-preview-12957--material-ui-x.netlify.app/ |
acc.push({ id, model }); | ||
} | ||
const rowNode = rowTree[id]; | ||
if (isAutoGeneratedRow(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.
To align with
mui-x/packages/x-data-grid/src/hooks/features/rows/useGridRows.ts
Lines 103 to 106 in ad0c9bf
const node = apiRef.current.getRowNode(id); | |
if (node && isAutoGeneratedRow(node)) { | |
return { [GRID_ID_AUTOGENERATED]: id }; | |
} |
Update: There's still difference with the v6 version, for example with: https://v6.mui.com/x/react-data-grid/row-grouping/#grouping-rows-with-custom-cell-renderer |
Update: The pull request is ready for review. |
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.
LGTM
Fixes #12946
A bit of context: #12946 (comment)
Additionally fixes #12942