-
Notifications
You must be signed in to change notification settings - Fork 180
Closed
Description
Hi,
I'm trying to make my tree grid expanded all the time. So inside my controller I initialized my_tree, and every time I get new data with $http there's a call tree.expand_all(). However this doesn't work although I can see my_tree has expand_all before first call to it is made.
When I made a button just like your tutorial, it works fine. Could there be other factor that I'm missing? Currently I made it work in a hackish way, inserting these lines in on_treeData_change()
right before the return statement:
if( scope.treeControl !== null && scope.treeControl !== undefined ) {
scope.treeControl.expand_all();
}
Metadata
Metadata
Assignees
Labels
No labels