[data grid] Selecting a column groups child has irregular effects on its parents #5359
Closed
2 tasks done
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
feature: Selection
Related to the data grid Selection feature
feature: Tree data
Related to the data grid Tree data feature
plan: Pro
Impact at least one Pro user
Duplicates
Latest version
Current behavior 😯
I am using tree data in combination with the selectionModel. The result is that the checkbox's don't seem to have the correct state for either expanded or collapsed children.
Expected behavior 🤔
By correct I mean, if a child (expanded or not) is selected its parent should be checked (or Indeterminate if other children aren't selected)
Steps to reproduce 🕹
https://codesandbox.io/s/data-grid-pro-forked-698g17?file=/src/App.tsx
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
Order ID 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: