[question] DataGridPro Expand and Collapse All nodes programmatically #10025
Labels
component: data grid
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
plan: Pro
Impact at least one Pro user
support: commercial
Support request from paid users
Order ID or Support key 💳 (optional)
71425
Duplicates
Latest version
The problem in depth 🔍
How can I make all rows expand/collapse programmatically in MUI ReactJS
DataGrid
?What have I tried?
I used prop
defaultGroupingExpansionDepth
based on MUI documentation:But the problem is that these buttons only work when tree is not already partially expanded.
As soon as I partially expand the tree grid, these buttons don't work any more. How can I make these buttons work irrespective of the current expansion/collapse state of the tree grid?
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: