-
Notifications
You must be signed in to change notification settings - Fork 183
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
expand-level not working when tree-data loaded dynamically #84
Comments
this is a show stopper for the application I am working on |
I haven't done a lot of work on this, so YMMV, but this seemed to work in my initial tests. In the function add_branch_to_list, look for this statement: Let me know if that works for you (or submit the PR yourself :-)) |
Are you sure you're looking at the latest version of the directive? That line doesn't appear in that function. |
I have a solution for this issue, but it has a caveat - you can never collapse the tree to less than the expand-level. I'm not sure this will meet the need here, so all comments welcome, before I submit a pull request. |
The fix for this is in release 0.4.0 of this directive - closing now. |
html:
JS:
And later call
tree-grid only displays the three elements (United States of America, India, Bangladesh) not expanded
The text was updated successfully, but these errors were encountered: