[data grid] I want one row of the tree data to be expanded by default #15102
Labels
component: data grid
This is the name of the generic UI component, not the React module!
customization: logic
Logic customizability
feature: Tree data
Related to the data grid Tree data feature
status: waiting for author
Issue with insufficient information
support: commercial
Support request from paid users
support: premium standard
Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
support: question
Community support but can be turned into an improvement
The problem in depth
I want the itinerary to automatically expand when I click 'Add Itinerary,' so I can see the new itinerary without needing to manually click the expand icon. Currently, the itinerary does not expand by default after adding it. For example, in the picture, I added the itinerary, but it is not expanded.
The completion count for the itinerary shows 3/4. However, if all its children are completed, the count should be 4/4. I need the parent itinerary to be considered completed when all its children are completed.
3 The direct child does not display any completion count. I would like the count to be displayed for the child as well, such as on Itinerary 1 the count should 3/3 in this case.
Here is the example
https://stackblitz.com/edit/react-sj2kwa?file=customGridTreeDataGroupingCell.tsx,Demo.tsx
For point 1 I have implemented this code:
but it only expand it when i added for the first time.
Your environment
`npx @mui/envinfo`
Search keywords: Data, Grid, Premium, Tree, Data, row, Expanded
Order ID: 91010
The text was updated successfully, but these errors were encountered: