Is it possible to display a subnm as an expandable/collapsible list instead of in a drop-down? Alternatively, have an element list that can be expanded/collapsed?
We’d like to set up some kind of navigation tree where a user can expand/collapse a hierarchy and choose a specific element. Something similar to the screenshot below:
What we’re looking for is to show the subnm results in a box, rather than a drop down form selection.
I’ve reviewed the samples page and haven’t found what I’m looking for yet. The element list results can be displayed in a box, and in hierarchy layout, but the hierarchy can’t be navigated, i.e. no option to expand/collapse.
Check this fiddle AngularJS Tree Menu Example for Github - JSFiddle - Code Playground and angularTreeview module.
I think, if you get the list of elements through $tm1ui service and build an array like $scope.roleList1 in the fiddle, you should get the desired results.