Suggestion: Expand nodes to show matching nodes when filter is applied
Right now if I type a filter in it hides some nodes but I have to dig down into different branches to find matches which is time consuming. It would be nice if the nodes were automatically expanded to show the matches. If not as a default then as an option.
It already has the capability, you just have to do it yourself: wix.github.io/angular-tree-control/#expandedNodes
Is there a way to fill the $scope.expandedNodes automatically after filter, without having to manualy give all the possible nodes.
Anyone ever find the optimal way of automatically expanding nodes to show the matched filter result
search term: test
Current Result
Folder 1
Desired
Folder 1
test.js
Wanted to see the generally accepted approach..
@dailytabs can you provide an example of how to use expandedNodes option? I have been struggling since last couple of days to set expandedNodes on filtered items?