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

[DataGridPremium] Fix print export not working with row grouping #12957

Merged
merged 5 commits into from
May 2, 2024

Conversation

MBilalShafi
Copy link
Member

@MBilalShafi MBilalShafi commented Apr 30, 2024

@MBilalShafi MBilalShafi added component: data grid This is the name of the generic UI component, not the React module! regression A bug, but worse labels Apr 30, 2024
@mui-bot
Copy link

mui-bot commented Apr 30, 2024

Deploy preview: https://deploy-preview-12957--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 11a20c6

acc.push({ id, model });
}
const rowNode = rowTree[id];
if (isAutoGeneratedRow(rowNode)) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To align with

const node = apiRef.current.getRowNode(id);
if (node && isAutoGeneratedRow(node)) {
return { [GRID_ID_AUTOGENERATED]: id };
}

@MBilalShafi
Copy link
Member Author

MBilalShafi commented Apr 30, 2024

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
I will try to fix it

@MBilalShafi MBilalShafi marked this pull request as ready for review May 1, 2024 23:08
@MBilalShafi
Copy link
Member Author

Update: The pull request is ready for review.

Copy link
Member

@michelengelen michelengelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MBilalShafi MBilalShafi merged commit f895c93 into mui:master May 2, 2024
17 checks passed
@MBilalShafi MBilalShafi deleted the print-export-regression branch May 2, 2024 11:20
DungTiger pushed a commit to DungTiger/mui-x that referenced this pull request Jul 23, 2024
thomasmoon pushed a commit to thomasmoon/mui-x that referenced this pull request Sep 9, 2024
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: Export regression A bug, but worse
Projects
None yet
3 participants