adding current groupid to grade_export class - soon to be used in plugins
[moodle-pu.git] / lib / yui / treeview / README
blob5dcd37ee9ce6c1951d6cb4769c9ea59c1466dc98
1 TreeView - Release Notes
3 2.3.0
4   * The image preload feature was restored.
5   * Added the new skin
6   * Leaf nodes created with expanded=true have the child div hidden initially
7     to work around an IE rendering issue.
9 2.2.2
10   * No change
12 2.2.1
13   * Fixed the default value in the documentation for the nowrap property in Node
14     (the default value is false).
16 2.2.0
18   * Node::insertAfter properly nulls the nextSibling attribute when the
19     inserted before the firstChild.
21   * MenuNodes inserted at the root level will no longer lose the menu behavior.
23   * TextNode::setUpLabel sets the data.label property as well as the label property.
25   * TaskNode example: made the logger optional, and moved the creation of the logger
26     instance to the proper location.
28   * TaskNodes added to a node that is in a fully selected state will update the
29     parent to a partially selected state.
31   * TaskNode example fixed to propagate the labelClick event
34 0.12.2
36   * removeChildren will now work properly on the root node.
38 0.12.1
40   * Added custom events for expandComplete and collapseComplete.  These events are
41     needed in situations where the implementer needs to resize or reposition 
42     something based on the new offset.
44   * Added a "nowrap" property to Node, and set the default to false.  Specifies
45     whether or not the content area of the node should be allowed to wrap
46     naturally.
48   * Added additional HTML elements to preserve the tree presentation when constrained
49     by a parent element.
51 0.12.0
53   * TreeView now augments EventProvider, and has custom events for expand,
54     collapse, animStart, animComplete, and labelClick.  Existing implementations
55     using abstract methods for these events (if they exist) will still work.
56     New events can be plugged into the tree by the Node implementation.  For
57     example, TaskNode adds a checkClick event.  EventProvider makes it safe
58     to do this because implementing code can call subscribe() prior to the
59     event creation.
61   * YAHOO.util.Event is now a requirement for the widget
63   * TreeView::removeChildren no longer expands and collapses the node.
65   * Documented the moveComplete property
67   * createElement("DIV") changed to createElement("div")
69 0.11.4
71    * Fixed a javascript error on the HTML node example page.
73 0.11.3
75    * popNode now clears the tree, previousSibling, nextSibling, and parent
76      properties of the node that is being removed from the tree.
78    * Fixed the paths to the images in the tree.css file that is included in
79      build/assets.
81 0.11.0
83    * Added TreeView -> popNode, which differs from removeNode in that the
84      node's children are preserved so the entire branch can be re-inserted
85      into another part of the tree, or another tree.
87    * Added TreeView -> getNodesByProperty, which differs from 
88      getNodeByProperty by returning an array of all nodes that have the
89      specified property rather than just the first one.
91    * Added Node -> insertBefore, insertAfter, and appendTo.  These method
92      can be used to reorganize the tree.
94    * removeChildren properly resets the node icon when executed against a 
95      collpased node.
96      
97    * Moved depth assignment from the constructor to appendChild so that the
98      value is set properly if the node is moved within the tree.
100    * Fixed broken loop in removeChildren.
102    * RootNode -> loadComplete calls tree.draw for hot-wiring the dynamic load
103      feature for the top level nodes.
105    * The treeview constructor will accept an element instead of an id.
107 0.10.0
109    * If the child collection changes prior to a refresh(), the icon is now
110      changed appropriately.
112    * Added TreeView removeChildren(node).  This will recursively purge the node's
113      children, and reset its dynamic load state.  
115    * previousSibling and nextSibling are now adjusted correctly when a
116      node is deleted.
118    * expand()/collapse() now will not expand/collapse the node if false is
119      returned from the onExpand/onCollapse event handlers.
121    * The onExpand and onCollapse events now fire before the node is expanded
122      or collapsed so that the implementer can modify the node's child collection
123      prior to display.
125    * The childrenRendered property previous was used to indicate both that
126      a dynamically loaded node has received its data, and also to indicate
127      that the children html has been created.  This has been split into
128      two properties.  dynamicLoadComplete and childrenRendered.
130    * Implemented the renderHidden flag.  If set to true, the html for the entire
131      tree will be created when tree.draw() is called, not just the html for the
132      visible nodes.
134    * Added an onLabelClick listener to TextNode
136    * TreeView.removeNode no longer automatically refreshes the tree.  It has an
137      optional parameter to perform the refresh.
139    * removeNode can now be executed on nodes that have not been rendered.
141    * You can now delete top-level nodes.
143    * Added onCheckClick listener to the TaskNode example
145    * Added Node.iconMode, which is a property that configures the way 
146      dynamically loaded nodes are displayed when they are expanded and contain 
147      no children.
149    * TreeView/Node.setDynamicLoad now accepts an optional second parameter to 
150      set the iconMode property.
152    * Fixed an issue in the TaskNode.js example that prevented setting the checked
153      state of a node through the constructor.
155    * Fixed an issue in HTMLNode that caused rendering issues when hasIcon was 
156      set to true.
158    * Added TreeView.removeNode
160    * Added Node.refresh