mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[data grid] Fix tree data selection bug

Open michelengelen opened this issue 1 month ago • 1 comments

When a row is not selectable within a parent row it was not performing the parent selection propagation correctly (only showing indeterminate state).

This now selects the parent when all selectable rows are selected, reflecting the correct state.

Fixes #20525

https://stackblitz.com/edit/mflmkyvp-1apuxwoo

michelengelen avatar Dec 02 '25 07:12 michelengelen

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

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 🔺+147B(+0.04%) 🔺+42B(+0.03%)
@mui/x-data-grid-pro 🔺+147B(+0.03%) 🔺+47B(+0.03%)
@mui/x-data-grid-premium 🔺+147B(+0.02%) 🔺+46B(+0.02%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by :no_entry_sign: dangerJS against b2c9d1429a2e7b1282e0e0c0141a8830b4f06799

mui-bot avatar Dec 02 '25 08:12 mui-bot

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Dec 12 '25 14:12 github-actions[bot]

Done @cherniavskii ... do you want to check again?

michelengelen avatar Dec 12 '25 14:12 michelengelen