Skip to content

Tree: expand/collapse on entire node click, not only caret #5885

Answered by adidahiya
warpdesign asked this question in Q&A
Discussion options

You must be logged in to vote

How are you constructing your Tree? Can you share some code? You get the callbacks to decide when nodes are expanded and selected. In the docs example, we choose to use onNodeClick to select nodes, but you should be able to configure it to expand/collapse nodes instead.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adidahiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #3555 on January 24, 2023 15:15.