[data grid] Possible to Persist row collapse/expansion when data changes? #6314
Labels
component: data grid
This is the name of the generic UI component, not the React module!
feature: Row grouping
Related to the data grid Row grouping feature
feature: Tree data
Related to the data grid Tree data feature
support: commercial
Support request from paid users
Order ID 💳
51562
Duplicates
Latest version
The problem in depth 🔍
I've been playing with row grouping, and I've noticed that if the data updates (via updating the
rows
prop) , rows will collapse or expand back to their default state (based ondefaultGroupingExpansionDepth
).While there's a way to control the grouping model, I can't find a way to control the grouping state.
Is there a way to force the data-grid to remember / persist the state of the expanded / collapsed rows?
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: