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] Print causes an error with Row Grouping #11872

Closed
wladimir-k-m opened this issue Jan 31, 2024 · 3 comments
Closed

[DataGridPremium] Print causes an error with Row Grouping #11872

wladimir-k-m opened this issue Jan 31, 2024 · 3 comments
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Export feature: Row grouping Related to the data grid Row grouping feature plan: Premium Impact at least one Premium user regression A bug, but worse support: premium standard Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/

Comments

@wladimir-k-m
Copy link

wladimir-k-m commented Jan 31, 2024

Steps to reproduce

Link to live example: https://codesandbox.io/p/sandbox/muidatagridpremiumrowgroupingprinterror-4q7y8t?file=%2Fsrc%2FRowGroupingDataGrid.tsx

Steps:

  1. Open the sandbox.
  2. Click on "Export" -> "Print" -> "Cancel"
  3. Get an Error: "MUI: The data grid component requires all rows to have a unique id property."

Current behavior

Mui throws an error.

Expected behavior

🤔

Context

No response

Your environment

Tested browsers: Chrome, Firefox latest versions

Search keywords: RowGrouping, Export, Print

@wladimir-k-m wladimir-k-m added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 31, 2024
@wladimir-k-m wladimir-k-m changed the title Print causes an error with Row Grouping [DataGridPremium] Print causes an error with Row Grouping Jan 31, 2024
@michelengelen michelengelen added component: data grid This is the name of the generic UI component, not the React module! feature: Export support: premium standard Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/ bug 🐛 Something doesn't work labels Jan 31, 2024
@michelengelen
Copy link
Member

Hey @wladimir-k-m ... thanks for raising this issue. I can confirm that this is a bug!

If I recall correctly in order to print we render a simplified version of the current grid. This is probably where the error appears.

@cherniavskii could you have a look?

@michelengelen michelengelen removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 31, 2024
@cherniavskii cherniavskii added feature: Row grouping Related to the data grid Row grouping feature plan: Premium Impact at least one Premium user labels Jan 31, 2024
@cherniavskii
Copy link
Member

Regression caused by #10084

Copy link

⚠️ This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@wladimir-k-m: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

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 feature: Row grouping Related to the data grid Row grouping feature plan: Premium Impact at least one Premium user regression A bug, but worse support: premium standard Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
Projects
Status: 🆕 Needs refinement
Development

No branches or pull requests

3 participants