khan4019 / tree-grid-directive

Need one or more maintainer for this! comment or email me if you are interested
http://khan4019.github.io/tree-grid-directive/test/treeGrid.html
347 stars 183 forks source link

Watch expand_level changing from controller #129

Open kirajhpang opened 7 years ago

kirajhpang commented 7 years ago

Hi, thanks for the great library. It is easy and well customize tools.

But I notice there is only 2 watch event, which is treeData & expandTo, what I trying to achieve now is reinitialize/ redraw/ recreate the entire tree grid directive when programmatically changing expand-level parameter.

Or there is anyway can work around with this? I just want to let user have a drop down option for expand level, after they selected, the tree will auto expand to that level.

Thanks.

alainib commented 6 years ago

did you found a solution ? i want to change expand-level value from $scope too dynamicly