Skip to content

expand all, collapse all #113

Answered by lukasbach
madhums asked this question in Q&A
Jul 26, 2022 · 5 comments · 7 replies
Discussion options

You must be logged in to vote

I looked into this and wanted to do a demo for how it can be implemented, but found out that just adding it as feature of the library was easier 😅 You can use the methods expandAll() and collapseAll() on a tree ref starting from react-complex-tree 1.1.10. You can see a demo here: https://rct.lukasbach.com/storybook/?path=/story/core-react-refs--expand-or-collapse-all

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@iamravisingh
Comment options

@madhums
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@madhums
Comment options

@iamravisingh
Comment options

@lukasbach
Comment options

@madhums
Comment options

@madhums
Comment options

Answer selected by lukasbach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants