-
Notifications
You must be signed in to change notification settings - Fork 188
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
How to collapse node at initialization? #102
Comments
"The other, with an ability to define in settings which node should be collapsed, is being developed." @rychkog Any updated on the above comment of yours? |
@rajeshkdev Will be available in a next release (during the next week). |
@rychkog Thank you so much. That would solve my big headache. Looking forward your updates. |
feat(tree): make it possible to collapse a tree on a first load. Closes #102
This implementation is available ng2-tree v2.0.0-rc.2 version onwards. The following flag need to be set to collapse by default. Else it will be all the expanded .
|
And how to set whether node is expanded?
Because In the initialization or call loadChildren function, when the tree is too high, this is a very bad user experience.
The text was updated successfully, but these errors were encountered: