[data grid] Any opened group by rows is automatically closed before printing #14023
Labels
component: data grid
This is the name of the generic UI component, not the React module!
feature: Export
regression
A bug, but worse
Steps to reproduce
Link to live example: https://codesandbox.io/s/stoic-shannon-c246cm
Steps:
Current behavior
Expanded rows are closed before printing, making it impossible to print any row group view
2024-07-28-GroupByPrint.mp4
Expected behavior
Compared to v6, the opened row is retained on print preview:
https://codesandbox.io/s/gifted-sea-35vr89
2024-07-28-GroupByPrintv6.mp4
Context
I have a Datagrid with row grouping and filter enabled by default, but the user now cannot print the grouped data
I initially thought it's due to rerendering but it seems it's not the case
Although it seems related with this issue in one way or another #13962
Your environment
npx @mui/envinfo
Search keywords: export, grouping
The text was updated successfully, but these errors were encountered: