-
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.
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.
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).