1 | TreeView - Release Notes
|
---|
2 |
|
---|
3 | 0.11.3
|
---|
4 |
|
---|
5 | * popNode now clears the tree, previousSibling, nextSibling, and parent
|
---|
6 | properties of the node that is being removed from the tree.
|
---|
7 |
|
---|
8 | * Fixed the paths to the images in the tree.css file that is included in
|
---|
9 | build/assets.
|
---|
10 |
|
---|
11 | 0.11.0
|
---|
12 |
|
---|
13 | * Added TreeView -> popNode, which differs from removeNode in that the
|
---|
14 | node's children are preserved so the entire branch can be re-inserted
|
---|
15 | into another part of the tree, or another tree.
|
---|
16 |
|
---|
17 | * Added TreeView -> getNodesByProperty, which differs from
|
---|
18 | getNodeByProperty by returning an array of all nodes that have the
|
---|
19 | specified property rather than just the first one.
|
---|
20 |
|
---|
21 | * Added Node -> insertBefore, insertAfter, and appendTo. These method
|
---|
22 | can be used to reorganize the tree.
|
---|
23 |
|
---|
24 | * removeChildren properly resets the node icon when executed against a
|
---|
25 | collpased node.
|
---|
26 |
|
---|
27 | * Moved depth assignment from the constructor to appendChild so that the
|
---|
28 | value is set properly if the node is moved within the tree.
|
---|
29 |
|
---|
30 | * Fixed broken loop in removeChildren.
|
---|
31 |
|
---|
32 | * RootNode -> loadComplete calls tree.draw for hot-wiring the dynamic load
|
---|
33 | feature for the top level nodes.
|
---|
34 |
|
---|
35 | * The treeview constructor will accept an element instead of an id.
|
---|
36 |
|
---|
37 | 0.10.0
|
---|
38 |
|
---|
39 | * If the child collection changes prior to a refresh(), the icon is now
|
---|
40 | changed appropriately.
|
---|
41 |
|
---|
42 | * Added TreeView removeChildren(node). This will recursively purge the node's
|
---|
43 | children, and reset its dynamic load state.
|
---|
44 |
|
---|
45 | * previousSibling and nextSibling are now adjusted correctly when a
|
---|
46 | node is deleted.
|
---|
47 |
|
---|
48 | * expand()/collapse() now will not expand/collapse the node if false is
|
---|
49 | returned from the onExpand/onCollapse event handlers.
|
---|
50 |
|
---|
51 | * The onExpand and onCollapse events now fire before the node is expanded
|
---|
52 | or collapsed so that the implementer can modify the node's child collection
|
---|
53 | prior to display.
|
---|
54 |
|
---|
55 | * The childrenRendered property previous was used to indicate both that
|
---|
56 | a dynamically loaded node has received its data, and also to indicate
|
---|
57 | that the children html has been created. This has been split into
|
---|
58 | two properties. dynamicLoadComplete and childrenRendered.
|
---|
59 |
|
---|
60 | * Implemented the renderHidden flag. If set to true, the html for the entire
|
---|
61 | tree will be created when tree.draw() is called, not just the html for the
|
---|
62 | visible nodes.
|
---|
63 |
|
---|
64 | * Added an onLabelClick listener to TextNode
|
---|
65 |
|
---|
66 | * TreeView.removeNode no longer automatically refreshes the tree. It has an
|
---|
67 | optional parameter to perform the refresh.
|
---|
68 |
|
---|
69 | * removeNode can now be executed on nodes that have not been rendered.
|
---|
70 |
|
---|
71 | * You can now delete top-level nodes.
|
---|
72 |
|
---|
73 | * Added onCheckClick listener to the TaskNode example
|
---|
74 |
|
---|
75 | * Added Node.iconMode, which is a property that configures the way
|
---|
76 | dynamically loaded nodes are displayed when they are expanded and contain
|
---|
77 | no children.
|
---|
78 |
|
---|
79 | * TreeView/Node.setDynamicLoad now accepts an optional second parameter to
|
---|
80 | set the iconMode property.
|
---|
81 |
|
---|
82 | * Fixed an issue in the TaskNode.js example that prevented setting the checked
|
---|
83 | state of a node through the constructor.
|
---|
84 |
|
---|
85 | * Fixed an issue in HTMLNode that caused rendering issues when hasIcon was
|
---|
86 | set to true.
|
---|
87 |
|
---|
88 | * Added TreeView.removeNode
|
---|
89 |
|
---|
90 | * Added Node.refresh
|
---|