Guest User

Untitled

a guest
Aug 16th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <body ng-app="app">
  2. Search: <input ng-model="searchTree">
  3. <table id="searchTextResults">
  4. <tr><th>Name</th><th>Age</th></tr>
  5. <tr ng-repeat="data in dataForTheTree | filter:searchTree">
  6. <td>{{node.name}}</td>
  7. <td>{{node.age}}</td>
  8. </tr>
  9. </table>
  10. <div ng-controller="myController">
  11. <treecontrol class="tree-light"
  12. tree-model="dataForTheTree"
  13. filter-expression="data"
  14. filter-comparator="false"
  15. options="treeOptions"
  16. on-selection="showSelected(node)"
  17. selected-node="node1"> {{node.name}} age {{node.age}}
  18. </treecontrol>
  19. </div>
  20. </body>
Add Comment
Please, Sign In to add comment