[DataGridPro] Tree Data doesn't work with checkboxSelection or rowReordering #5224
Closed
2 tasks done
Labels
component: data grid
This is the name of the generic UI component, not the React module!
support: commercial
Support request from paid users
Duplicates
Latest version
Current behavior 😯
I'm not sure if this is a bug or a feature request, but it looks like some of the DataGrid functionality doesn't work with some others; e.g. tree data with
checkboxSelection
orrowReordering
Expected behavior 🤔
I expect
checkboxSelection
to also check child rows.I expect
rowReordering
to be able to work with tree data rows and correctly nest them in the right layer.Steps to reproduce 🕹
I duplicated the tree data example and added the two props to test them out:
https://codesandbox.io/s/treedatafullexample-material-demo-forked-izdzo5?file=/demo.js
It looks like the checkbox doesn't check the nested child rows, and row reordering does not work at all.
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
Order ID 💳 (optional)
LiveRamp
The text was updated successfully, but these errors were encountered: