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

expandAllChildren #40

Closed
flysmallstrong opened this issue Jan 4, 2024 · 3 comments
Closed

expandAllChildren #40

flysmallstrong opened this issue Jan 4, 2024 · 3 comments

Comments

@flysmallstrong
Copy link

Upon initial loading of the tree, it can be completely unfolded. But upon going back to the previous page and subsequently redirecting to this page, the tree does not unfold anew.

@vsaase
Copy link

vsaase commented Jan 26, 2024

also the recursive argument is not used in the code for the function?

@vsaase
Copy link

vsaase commented Jan 26, 2024

duplicate of #34

@jawwad-hassan89
Copy link
Collaborator

hi @vsaase
you can achieve this behaviour by using the expandAllChildren(Tree node, {bool recursive = false}) method introduced in the version 2.2.0. You can get the controller on the callback onTreeReady, and then call the expandAllChildren() method on the controller

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

3 participants