File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,26 @@ $scope.tree_data = $TreeTableConvert.tree2tree(data, 'children');
206206```
207207
208208## v1.0.3
209- * Add attribute 'primaryKey' to filter & reload data in repeate best (instead of default __ uid__ = now())
209+ * Add attribute 'primaryKey' to filter & reload data in repeat best (instead of default __ uid__ = now())
210+ * Add function ` hashedTree ` to ` track by ` on ng-repeat
210211* Fix any error when drag.
211212* Add demo new.
213+ ``` js
214+ < tree- table
215+ tree- data= " tree_data"
216+ tree- control= " my_tree"
217+ primary- key= " primaryKey"
218+ callbacks= " callbacks"
219+ drag- enabled= " true"
220+ icon- leaf= " none"
221+ icon- expand= " fa fa-fw fa-angle-right"
222+ icon- collapse= " fa fa-fw fa-angle-down"
223+ column- defs= " col_defs"
224+ expand- on= " expanding_property"
225+ template- url= " tree-table-template.html"
226+ on- select= " my_tree_handler(branch)"
227+ on- click= " my_tree_handler(branch)"
228+ data- indent= " 30" data- indent- unit= " px"
229+ data- indent- plus= " 15" >
230+ < / tree- table>
231+ ```
You can’t perform that action at this time.
0 commit comments