tree-grid-directive
tree-grid-directive copied to clipboard
Using filters in view templates
I have a ng-repeater and I would like to add a tree-grid for each item in the repeater. I was hoping I could simply filter each subsequent tree-grid with the itemId in the repeater as one does in angularjs.
Eg.
<div bindonce ng-repeat="item in Items">
<tree-grid id="tree_grid_{{ item.ItemId }}" tree-data="tree_data" ng-repeat="tree in Trees | filter:{ fkItemId: item.ItemId }"></tree-grid>
</div>
Any ideas how to go about achieving this?
Thanks in advance
I have another problem regarding the filter. Is it possible to filter each column? so I want o add a search box for every column in my tree. Any Idea?