Skip to content
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

Start with a collapsed tree #61

Open
gbulfon opened this issue Oct 3, 2024 · 2 comments
Open

Start with a collapsed tree #61

gbulfon opened this issue Oct 3, 2024 · 2 comments

Comments

@gbulfon
Copy link

gbulfon commented Oct 3, 2024

Hi, in an async code I use setState containing code that adds many levels of TreeNode elements to the tree, to update the tree state after all the adding.
What happens is that all the added nodes appear expanded.
Is there any way I can specify that the nodes must stay collapsed and just handles must be updated?

@snakelet-Ling
Copy link

I have the same problem, has it been solved now? Or update the state of the handle to expanded, I just want it not to show both the collapsed handle and the child.

@gbulfon
Copy link
Author

gbulfon commented Oct 24, 2024

I have the same problem, has it been solved now? Or update the state of the handle to expanded, I just want it not to show both the collapsed handle and the child.

No solution found. I just switched to a different TreeView :) arborio/tree_view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants