-
Hi is there a simple way to disable a TreeItem? I have to implement this for a feature I'm working on and would make my life easier. I could be missing something but didn't see it in the code. Happy to file a feature request or maybe there is reasons for this. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
behowell
Mar 6, 2024
Replies: 1 comment 1 reply
-
No, TreeItem doesn't support a disabled state. You could add your own css class/styles to the TreeItem to make it appear disabled. If needed, you can also control its |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nmann4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, TreeItem doesn't support a disabled state. You could add your own css class/styles to the TreeItem to make it appear disabled. If needed, you can also control its
open
state to prevent it from being opened while disabled (see the Tree: Open Item Controlled example on the documentation site).