tree-grid

trap tree in a grid

code on github show step by step



standard directive: <tree-grid tree-data="tree_data" tree-control="my_tree" col-defs="col_defs" expand-on="expanding_property" on-select="my_tree_handler(branch)" expand-level="2" icon-leaf= "glyphicon glyphicon-globe"></tree-grid>

bare minimum directive: <tree-grid tree-data="tree_data"></tree-grid>