Commit 2fc350a
committed
## v1.1.0
* Fix any bug.
* Fix not refresh data
* Fix error in Angular 1.3
* Combinding with list-tree *(ol,ul, li, present not compatible - beta)*
* Add infomation node into Node Target after DropStop:
```js
scope.$callbacks.dragStop(dragInfo, _status);
```
* _status: Status changed pos of node, Drag succeed!
* dragInfo:
* node: scope.node(), // Data node dragged
* scope: scope, // Scope node
* level: scope.node().__level__, // Level indent
* target: scope.prev(), // Node prev
* move:
* parent: -1, // -1: Dragged failed, null: node root, > 0: node normal
* pos: -1 // Position new Note moveTo
* Add 'data' to TreeTableNode `tree-table-node=data` in template;
```html
<tr tree-table-node="row" ng-repeat="row in tree_rows track by hashedTree(row)"
ng-show="row.__visible__" ng-class="(row.__selected__ ? ' active':'')" class="ng-animate ">
....
</tr>
```
* Add class for tree-table *(auto render to `tree_class` add to <table ng-class="tree_table">)*
```html
<tree-table
class="tree-table table table-hover b-b b-light"
tree-data="tree_data" tree-control="my_tree">
</tree-table>
```1 parent 8867662 commit 2fc350a
4 files changed
Lines changed: 202 additions & 84 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
3 | 22 | | |
4 | | - | |
| 23 | + | |
5 | 24 | | |
6 | 25 | | |
7 | 26 | | |
8 | 27 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 28 | | |
13 | 29 | | |
14 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
0 commit comments