-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TreeView] Visually select the ancestors of a selected item #13215
Comments
You have created a support request under the "Priority Support" terms, which is a paid add-on to MUI X Premium ⏰. Please validate your support key using the link below: https://tools-public.mui.com/prod/pages/jyhs86t?repo=mui-x&issueId=13215 Do not share your support key in this issue! Priority Support is only provided to verified customers. Once you have verified your support key, we will remove the |
Hey @amit-8 @flaviendelangle should we document cases like this with a recipe as well? |
It's an interesting use-case The clean implementation would be to only display the ancestors as selected but not have it in the model, that way people can use We should definitely do a recipe a see how viable each approach is and pick the best one. |
@flaviendelangle --- A expanded What I've tried is:
I have my own I'm using
|
The problem in depth
i am using treeview component and trying a feature where when we hover over the child the parent should also have same effect and when we click the child parent should also be selected
Your environment
`npx @mui/envinfo`
Search keywords: treeview
The text was updated successfully, but these errors were encountered: