1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.tree.TreePanel</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.tree.TreePanel-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.tree.TreePanel-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.tree.TreePanel-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.tree.TreePanel-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.tree.TreePanel
53 <!-- ============================== class title / details ============================ -->
56 <h1 class="classTitle">
58 Class Roo.tree.TreePanel
61 <table cellspacing="0" class="class-summary-table">
63 <tr><td class="label">Package:</td><td class="hd-info">Roo.tree</td></tr>
65 <tr><td class="label">Defined In:</td><td class="hd-info">
67 <a href="./src/Roo_tree_TreePanel.js.html">Roo/tree/TreePanel.js</a>.
70 <tr><td class="label">Class:</td><td class="hd-info">TreePanel</td></tr>
75 <tr><td class="label">Extends:</td><td class="hd-info">
76 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
84 <!-- ============================== class summary ========================== -->
85 <div class="description">
90 <!-- ============================== Class comment block... ========================== -->
92 <div class="comments">
93 <b>Class Comments / Notes</B> =>
94 <u onclick="parent.CommentDialog.showCommentId = 'Roo.tree.TreePanel';">[Add Your comment/notes about this class]</u>
96 <iframe frameborder="0" id="comments-Roo.tree" style="border: none;width:100%;"
97 src="/blog.php/GtkDjsComments/Roo.tree.TreePanel.html"></iframe>
102 <!-- ============================== config options ========================== -->
107 <div class="hr"></div>
108 <a id="Roo.tree.TreePanel-configs"></a>
114 <table cellspacing="0" class="member-table">
115 <caption>Config Options (Usually are also Properties)</caption>
119 <th class="sig-header" colspan="2">Options</th>
121 <th class="msource-header">Defined By</th>
128 <tr class="config-row expandable config-row-alt0 notInherited">
129 <td class="micon"><a class="exi" href="#expand"> </a></td>
132 <a id="Roo.tree.TreePanel-cfg-animate" name=".animate"></a>
133 <div class="fixedFont">
134 <b class="itemname">animate</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
140 <div class="short">true to enable animated expand/collapse (defaults to the value of Roo.enableFx)</div>
145 true to enable animated expand/collapse (defaults to the value of Roo.enableFx)
161 <tr class="config-row expandable config-row-alt1 notInherited">
162 <td class="micon"><a class="exi" href="#expand"> </a></td>
165 <a id="Roo.tree.TreePanel-cfg-containerScroll" name=".containerScroll"></a>
166 <div class="fixedFont">
167 <b class="itemname">containerScroll</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
173 <div class="short">true to register this container with ScrollManager</div>
178 true to register this container with ScrollManager
194 <tr class="config-row expandable config-row-alt0 notInherited">
195 <td class="micon"><a class="exi" href="#expand"> </a></td>
198 <a id="Roo.tree.TreePanel-cfg-ddAppendOnly" name=".ddAppendOnly"></a>
199 <div class="fixedFont">
200 <b class="itemname">ddAppendOnly</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
206 <div class="short">True if the tree should only allow append drops (use for trees which are sorted)</div>
211 True if the tree should only allow append drops (use for trees which are sorted)
227 <tr class="config-row expandable config-row-alt1 notInherited">
228 <td class="micon"><a class="exi" href="#expand"> </a></td>
231 <a id="Roo.tree.TreePanel-cfg-ddGroup" name=".ddGroup"></a>
232 <div class="fixedFont">
233 <b class="itemname">ddGroup</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
239 <div class="short">The DD group this TreePanel belongs to</div>
244 The DD group this TreePanel belongs to
260 <tr class="config-row expandable config-row-alt0 notInherited">
261 <td class="micon"><a class="exi" href="#expand"> </a></td>
264 <a id="Roo.tree.TreePanel-cfg-ddScroll" name=".ddScroll"></a>
265 <div class="fixedFont">
266 <b class="itemname">ddScroll</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
272 <div class="short">true to enable YUI body scrolling</div>
277 true to enable YUI body scrolling
293 <tr class="config-row expandable config-row-alt1 notInherited">
294 <td class="micon"><a class="exi" href="#expand"> </a></td>
297 <a id="Roo.tree.TreePanel-cfg-dragConfig" name=".dragConfig"></a>
298 <div class="fixedFont">
299 <b class="itemname">dragConfig</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
305 <div class="short">Custom config to pass to the {<b>link</b> Roo.tree.TreeDragZone} instance</div>
310 Custom config to pass to the {<b>link</b> Roo.tree.TreeDragZone} instance
326 <tr class="config-row expandable config-row-alt0 notInherited">
327 <td class="micon"><a class="exi" href="#expand"> </a></td>
330 <a id="Roo.tree.TreePanel-cfg-dropConfig" name=".dropConfig"></a>
331 <div class="fixedFont">
332 <b class="itemname">dropConfig</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
338 <div class="short">Custom config to pass to the {<b>link</b> Roo.tree.TreeDropZone} instance</div>
343 Custom config to pass to the {<b>link</b> Roo.tree.TreeDropZone} instance
359 <tr class="config-row expandable config-row-alt1 notInherited">
360 <td class="micon"><a class="exi" href="#expand"> </a></td>
363 <a id="Roo.tree.TreePanel-cfg-editor" name=".editor"></a>
364 <div class="fixedFont">
365 <b class="itemname">editor</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>|<a href="./Roo.tree.TreeEditor.html#constructor" roo:cls="Roo.tree.TreeEditor.html#constructor">Roo.tree.TreeEditor</a>
371 <div class="short">The TreeEditor or xtype data to display when clicked.</div>
376 The TreeEditor or xtype data to display when clicked.
392 <tr class="config-row expandable config-row-alt0 notInherited">
393 <td class="micon"><a class="exi" href="#expand"> </a></td>
396 <a id="Roo.tree.TreePanel-cfg-enableDD" name=".enableDD"></a>
397 <div class="fixedFont">
398 <b class="itemname">enableDD</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
404 <div class="short">true to enable drag and drop</div>
409 true to enable drag and drop
425 <tr class="config-row expandable config-row-alt1 notInherited">
426 <td class="micon"><a class="exi" href="#expand"> </a></td>
429 <a id="Roo.tree.TreePanel-cfg-enableDrag" name=".enableDrag"></a>
430 <div class="fixedFont">
431 <b class="itemname">enableDrag</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
437 <div class="short">true to enable just drag</div>
442 true to enable just drag
458 <tr class="config-row expandable config-row-alt0 notInherited">
459 <td class="micon"><a class="exi" href="#expand"> </a></td>
462 <a id="Roo.tree.TreePanel-cfg-enableDrop" name=".enableDrop"></a>
463 <div class="fixedFont">
464 <b class="itemname">enableDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
470 <div class="short">true to enable just drop</div>
475 true to enable just drop
491 <tr class="config-row expandable config-row-alt1 notInherited">
492 <td class="micon"><a class="exi" href="#expand"> </a></td>
495 <a id="Roo.tree.TreePanel-cfg-hlColor" name=".hlColor"></a>
496 <div class="fixedFont">
497 <b class="itemname">hlColor</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
503 <div class="short">The color of the node highlight (defaults to C3DAF9)</div>
508 The color of the node highlight (defaults to C3DAF9)
524 <tr class="config-row expandable config-row-alt0 notInherited">
525 <td class="micon"><a class="exi" href="#expand"> </a></td>
528 <a id="Roo.tree.TreePanel-cfg-hlDrop" name=".hlDrop"></a>
529 <div class="fixedFont">
530 <b class="itemname">hlDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
536 <div class="short">false to disable node highlight on drop (defaults to the value of Roo.enableFx)</div>
541 false to disable node highlight on drop (defaults to the value of Roo.enableFx)
557 <tr class="config-row expandable config-row-alt1 notInherited">
558 <td class="micon"><a class="exi" href="#expand"> </a></td>
561 <a id="Roo.tree.TreePanel-cfg-lines" name=".lines"></a>
562 <div class="fixedFont">
563 <b class="itemname">lines</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
569 <div class="short">false to disable tree lines (defaults to true)</div>
574 false to disable tree lines (defaults to true)
590 <tr class="config-row expandable config-row-alt0">
591 <td class="micon"><a class="exi" href="#expand"> </a></td>
594 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
595 <div class="fixedFont">
596 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
602 <div class="short">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> .</div>
607 list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> ..... <br/> } ,<br/> .... <br/> } <br/> </code></pre>
617 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
623 <tr class="config-row expandable config-row-alt1 notInherited">
624 <td class="micon"><a class="exi" href="#expand"> </a></td>
627 <a id="Roo.tree.TreePanel-cfg-loader" name=".loader"></a>
628 <div class="fixedFont">
629 <b class="itemname">loader</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
635 <div class="short">A TreeLoader for use with this TreePanel</div>
640 A TreeLoader for use with this TreePanel
656 <tr class="config-row expandable config-row-alt0 notInherited">
657 <td class="micon"><a class="exi" href="#expand"> </a></td>
660 <a id="Roo.tree.TreePanel-cfg-pathSeparator" name=".pathSeparator"></a>
661 <div class="fixedFont">
662 <b class="itemname">pathSeparator</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
668 <div class="short">The token used to separate sub-paths in path strings (defaults to '/')</div>
673 The token used to separate sub-paths in path strings (defaults to '/')
689 <tr class="config-row expandable config-row-alt1 notInherited">
690 <td class="micon"><a class="exi" href="#expand"> </a></td>
693 <a id="Roo.tree.TreePanel-cfg-renderer" name=".renderer"></a>
694 <div class="fixedFont">
695 <b class="itemname">renderer</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
701 <div class="short">DEPRECATED - use TreeLoader:create event / Sets the rendering (formatting) function for the nodes.</div>
706 DEPRECATED - use TreeLoader:create event / Sets the rendering (formatting) function for the nodes. to return HTML markup for the tree view. The render function is called with the following parameters:<ul><li>The {Object} The data for the node.</li></ul>
722 <tr class="config-row expandable config-row-alt0 notInherited">
723 <td class="micon"><a class="exi" href="#expand"> </a></td>
726 <a id="Roo.tree.TreePanel-cfg-rendererTip" name=".rendererTip"></a>
727 <div class="fixedFont">
728 <b class="itemname">rendererTip</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
734 <div class="short">DEPRECATED - use TreeLoader:create event / Sets the rendering (formatting) function for the nodes hovertip to return HTML markup for the tree view.</div>
739 DEPRECATED - use TreeLoader:create event / Sets the rendering (formatting) function for the nodes hovertip to return HTML markup for the tree view. The render function is called with the following parameters:<ul><li>The {Object} The data for the node.</li></ul>
755 <tr class="config-row expandable config-row-alt1 notInherited">
756 <td class="micon"><a class="exi" href="#expand"> </a></td>
759 <a id="Roo.tree.TreePanel-cfg-rootVisible" name=".rootVisible"></a>
760 <div class="fixedFont">
761 <b class="itemname">rootVisible</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
767 <div class="short">false to hide the root node (defaults to true)</div>
772 false to hide the root node (defaults to true)
788 <tr class="config-row expandable config-row-alt0 notInherited">
789 <td class="micon"><a class="exi" href="#expand"> </a></td>
792 <a id="Roo.tree.TreePanel-cfg-selModel" name=".selModel"></a>
793 <div class="fixedFont">
794 <b class="itemname">selModel</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
800 <div class="short">A tree selection model to use with this TreePanel (defaults to a {<b>link</b> Roo.tree.DefaultSelectionModel})</div>
805 A tree selection model to use with this TreePanel (defaults to a {<b>link</b> Roo.tree.DefaultSelectionModel})
821 <tr class="config-row expandable config-row-alt1 notInherited">
822 <td class="micon"><a class="exi" href="#expand"> </a></td>
825 <a id="Roo.tree.TreePanel-cfg-singleExpand" name=".singleExpand"></a>
826 <div class="fixedFont">
827 <b class="itemname">singleExpand</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
833 <div class="short">true if only 1 node per branch may be expanded</div>
838 true if only 1 node per branch may be expanded
864 <!-- ============================== public properties ==================== -->
868 <a id="Roo.tree.TreePanel-props"></a>
874 <table cellspacing="0" class="member-table">
875 <caption class="Empty">Public Properties - Has None</caption>
881 <!-- ============================== methods summary / details ======================== -->
884 <a id="Roo.tree.TreePanel-methods"></a>
885 <!-- constructor?? -->
892 <!-- then dynamics first -->
899 <table cellspacing="0" class="member-table">
900 <caption>Public Methods</caption>
902 <th class="sig-header" colspan="2">Method</th>
903 <th class="msource-header">Defined By</th>
913 <tr class="method-row config-row-alt0 expandable notInherited">
914 <td class="micon"><a class="exi" href="#expand"> </a></td>
918 <a id="Roo.tree-method-TreePanel" name=".TreePanel"></a>
919 <div class="fixedFont">
920 <span class="attributes">new <B>Roo.tree.</B></span><b class="itemname">TreePanel</b>
922 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
930 <div class="short">Create a new Roo.tree.TreePanel</div>
937 Create a new Roo.tree.TreePanel
940 <dl class="detailList">
941 <dt class="heading">Parameters:</dt>
944 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
947 <dd>The container element</dd>
950 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
977 <tr class="method-row config-row-alt1 expandable">
978 <td class="micon"><a class="exi" href="#expand"> </a></td>
982 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
983 <div class="fixedFont">
984 <span class="attributes"></span><b class="itemname">addEvents</b>
986 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
993 <div class="short">Used to define events on this Observable</div>
999 Used to define events on this Observable
1006 <dl class="detailList">
1007 <dt class="heading">Parameters:</dt>
1010 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>object</b>
1013 <dd>The object with the events defined</dd>
1031 <td class="msource">
1033 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1039 <tr class="method-row config-row-alt0 expandable">
1040 <td class="micon"><a class="exi" href="#expand"> </a></td>
1044 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1045 <div class="fixedFont">
1046 <span class="attributes"></span><b class="itemname">addListener</b>
1048 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>)
1055 <div class="short">Appends an event handler to this component</div>
1061 Appends an event handler to this component
1068 <dl class="detailList">
1069 <dt class="heading">Parameters:</dt>
1072 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1075 <dd>The type of event to listen for</dd>
1078 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1081 <dd>The method the event invokes</dd>
1084 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
1087 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1090 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
1093 <dd>(optional) An object containing handler configuration<br/>properties. This may contain any of the following properties:<ul><br/><li>scope {Object} The scope in which to execute the handler function. The handler function's "this" context.</li><br/><li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li><br/><li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li><br/><li>buffer {Number} Causes the handler to be scheduled to run in an {<b>link</b> Roo.util.DelayedTask} delayed<br/>by the specified number of milliseconds. If the event fires again within that time, the original<br/>handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li><br/></ul><br><br/><p><br/><b>Combining Options</b><br><br/>Using the options argument, it is possible to combine different types of listeners:<br><br/><br><br/>A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)<br/> <pre><code><br/> el.on('click', this.onClick, this, {<br/> single: true,<br/> delay: 100,<br/> forumId: 4<br/> });<br/> </code></pre><br/><p><br/><b>Attaching multiple handlers in 1 call</b><br><br/>The method also allows for a single argument to be passed which is a config object containing properties<br/>which specify multiple handlers.<br/><pre><code><br/> el.on({<br/> 'click': {<br/> fn: this.onClick,<br/> scope: this,<br/> delay: 100<br/> }, <br/> 'mouseover': {<br/> fn: this.onMouseOver,<br/> scope: this<br/> },<br/> 'mouseout': {<br/> fn: this.onMouseOut,<br/> scope: this<br/> }<br/> });<br/> </code></pre><br/><p><br/>Or a shorthand syntax which passes the same scope object to all handlers:<br/> <pre><code><br/> el.on({<br/> 'click': this.onClick,<br/> 'mouseover': this.onMouseOver,<br/> 'mouseout': this.onMouseOut,<br/> scope: this<br/> });<br/> </code></pre></dd>
1111 <td class="msource">
1113 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1119 <tr class="method-row config-row-alt1 expandable notInherited">
1120 <td class="micon"><a class="exi" href="#expand"> </a></td>
1124 <a id="Roo.tree.TreePanel-method-collapseAll" name=".collapseAll"></a>
1125 <div class="fixedFont">
1126 <span class="attributes"></span><b class="itemname">collapseAll</b>
1135 <div class="short">Collapse all nodes</div>
1162 <td class="msource">
1170 <tr class="method-row config-row-alt0 expandable notInherited">
1171 <td class="micon"><a class="exi" href="#expand"> </a></td>
1175 <a id="Roo.tree.TreePanel-method-expandAll" name=".expandAll"></a>
1176 <div class="fixedFont">
1177 <span class="attributes"></span><b class="itemname">expandAll</b>
1186 <div class="short">Expand all nodes</div>
1213 <td class="msource">
1221 <tr class="method-row config-row-alt1 expandable notInherited">
1222 <td class="micon"><a class="exi" href="#expand"> </a></td>
1226 <a id="Roo.tree.TreePanel-method-expandPath" name=".expandPath"></a>
1227 <div class="fixedFont">
1228 <span class="attributes"></span><b class="itemname">expandPath</b>
1230 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>path</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attr</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>)
1237 <div class="short">Expands a specified path in this TreePanel.</div>
1243 Expands a specified path in this TreePanel. A path can be retrieved from a node with {<b>link</b> Roo.data.Node<b>getPath</b>}
1250 <dl class="detailList">
1251 <dt class="heading">Parameters:</dt>
1254 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>path</b>
1260 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attr</b>
1263 <dd>(optional) The attribute used in the path (see {<b>link</b> Roo.data.Node<b>getPath</b>} for more info)</dd>
1266 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
1269 <dd>(optional) The callback to call when the expand is complete. The callback will be called with<br/>(bSuccess, oLastNode) where bSuccess is if the expand was successful and oLastNode is the last node that was expanded.</dd>
1287 <td class="msource">
1295 <tr class="method-row config-row-alt0 expandable">
1296 <td class="micon"><a class="exi" href="#expand"> </a></td>
1300 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1301 <div class="fixedFont">
1302 <span class="attributes"></span><b class="itemname">fireEvent</b>
1304 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a> <B><i>args</i></B>)
1310 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1319 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1325 Fires the specified event with the passed parameters (minus the event name).
1332 <dl class="detailList">
1333 <dt class="heading">Parameters:</dt>
1336 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1342 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a></span> <b>args</b>
1345 <dd>Variable number of parameters are passed to handlers</dd>
1353 <dl class="detailList">
1354 <dt class="heading">Returns:</dt>
1356 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> returns false if any of the handlers return false otherwise it returns true</dd>
1370 <td class="msource">
1372 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1378 <tr class="method-row config-row-alt1 expandable notInherited">
1379 <td class="micon"><a class="exi" href="#expand"> </a></td>
1383 <a id="Roo.tree.TreePanel-method-getChecked" name=".getChecked"></a>
1384 <div class="fixedFont">
1385 <span class="attributes"></span><b class="itemname">getChecked</b>
1387 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attribute</i></B>, TreeNode <B><i>startNode</i></B>)
1393 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
1402 <div class="short">Retrieve an array of checked nodes, or an array of a specific attribute of checked nodes (e.g.</div>
1408 Retrieve an array of checked nodes, or an array of a specific attribute of checked nodes (e.g. "id")
1415 <dl class="detailList">
1416 <dt class="heading">Parameters:</dt>
1419 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attribute</b>
1422 <dd>(optional) Defaults to null (return the actual nodes)</dd>
1425 <span class="fixedFont">TreeNode</span> <b>startNode</b>
1428 <dd>(optional) The node to start from, defaults to the root</dd>
1436 <dl class="detailList">
1437 <dt class="heading">Returns:</dt>
1439 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> </dd>
1453 <td class="msource">
1461 <tr class="method-row config-row-alt0 expandable notInherited">
1462 <td class="micon"><a class="exi" href="#expand"> </a></td>
1466 <a id="Roo.tree.TreePanel-method-getEl" name=".getEl"></a>
1467 <div class="fixedFont">
1468 <span class="attributes"></span><b class="itemname">getEl</b>
1477 <div class="short">Returns the container element for this TreePanel</div>
1483 Returns the container element for this TreePanel
1504 <td class="msource">
1512 <tr class="method-row config-row-alt1 expandable notInherited">
1513 <td class="micon"><a class="exi" href="#expand"> </a></td>
1517 <a id="Roo.tree.TreePanel-method-getLoader" name=".getLoader"></a>
1518 <div class="fixedFont">
1519 <span class="attributes"></span><b class="itemname">getLoader</b>
1528 <div class="short">Returns the default TreeLoader for this TreePanel</div>
1534 Returns the default TreeLoader for this TreePanel
1555 <td class="msource">
1563 <tr class="method-row config-row-alt0 expandable">
1564 <td class="micon"><a class="exi" href="#expand"> </a></td>
1568 <a id="Roo.data.Tree-method-getNodeById" name=".getNodeById"></a>
1569 <div class="fixedFont">
1570 <span class="attributes"></span><b class="itemname">getNodeById</b>
1572 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>)
1587 <div class="short">Gets a node in this tree by its id.</div>
1593 Gets a node in this tree by its id.
1600 <dl class="detailList">
1601 <dt class="heading">Parameters:</dt>
1604 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
1615 <dl class="detailList">
1616 <dt class="heading">Returns:</dt>
1618 <dd><span class="fixedFont">Node</span> </dd>
1632 <td class="msource">
1634 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
1640 <tr class="method-row config-row-alt1 expandable">
1641 <td class="micon"><a class="exi" href="#expand"> </a></td>
1645 <a id="Roo.data.Tree-method-getRootNode" name=".getRootNode"></a>
1646 <div class="fixedFont">
1647 <span class="attributes"></span><b class="itemname">getRootNode</b>
1664 <div class="short">Returns the root node for this tree.</div>
1670 Returns the root node for this tree.
1681 <dl class="detailList">
1682 <dt class="heading">Returns:</dt>
1684 <dd><span class="fixedFont">Node</span> </dd>
1698 <td class="msource">
1700 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
1706 <tr class="method-row config-row-alt0 expandable notInherited">
1707 <td class="micon"><a class="exi" href="#expand"> </a></td>
1711 <a id="Roo.tree.TreePanel-method-getSelectionModel" name=".getSelectionModel"></a>
1712 <div class="fixedFont">
1713 <span class="attributes"></span><b class="itemname">getSelectionModel</b>
1722 <div class="short">Returns the selection model used by this TreePanel</div>
1728 Returns the selection model used by this TreePanel
1749 <td class="msource">
1757 <tr class="method-row config-row-alt1 expandable">
1758 <td class="micon"><a class="exi" href="#expand"> </a></td>
1762 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1763 <div class="fixedFont">
1764 <span class="attributes"></span><b class="itemname">hasListener</b>
1766 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1772 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1781 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1787 Checks to see if this object has any listeners for a specified event
1794 <dl class="detailList">
1795 <dt class="heading">Parameters:</dt>
1798 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1801 <dd>The name of the event to check for</dd>
1809 <dl class="detailList">
1810 <dt class="heading">Returns:</dt>
1812 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the event is being listened for, else false</dd>
1826 <td class="msource">
1828 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1834 <tr class="method-row config-row-alt0 expandable">
1835 <td class="micon"><a class="exi" href="#expand"> </a></td>
1839 <a id="Roo.util.Observable-method-on" name=".on"></a>
1840 <div class="fixedFont">
1841 <span class="attributes"></span><b class="itemname">on</b>
1843 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>)
1850 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1856 Appends an event handler to this element (shorthand for addListener)
1863 <dl class="detailList">
1864 <dt class="heading">Parameters:</dt>
1867 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1870 <dd>The type of event to listen for</dd>
1873 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1876 <dd>The method the event invokes</dd>
1879 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
1882 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1885 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
1906 <td class="msource">
1908 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1914 <tr class="method-row config-row-alt1 expandable">
1915 <td class="micon"><a class="exi" href="#expand"> </a></td>
1919 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1920 <div class="fixedFont">
1921 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1930 <div class="short">Removes all listeners for this object</div>
1936 Removes all listeners for this object
1957 <td class="msource">
1959 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1965 <tr class="method-row config-row-alt0 expandable">
1966 <td class="micon"><a class="exi" href="#expand"> </a></td>
1970 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1971 <div class="fixedFont">
1972 <span class="attributes"></span><b class="itemname">removeListener</b>
1974 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
1981 <div class="short">Removes a listener</div>
1994 <dl class="detailList">
1995 <dt class="heading">Parameters:</dt>
1998 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2001 <dd>The type of event to listen for</dd>
2004 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2007 <dd>The handler to remove</dd>
2010 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
2013 <dd>(optional) The scope (this object) for the handler</dd>
2031 <td class="msource">
2033 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2039 <tr class="method-row config-row-alt1 expandable notInherited">
2040 <td class="micon"><a class="exi" href="#expand"> </a></td>
2044 <a id="Roo.tree.TreePanel-method-render" name=".render"></a>
2045 <div class="fixedFont">
2046 <span class="attributes"></span><b class="itemname">render</b>
2055 <div class="short">Trigger rendering of this TreePanel</div>
2061 Trigger rendering of this TreePanel
2082 <td class="msource">
2090 <tr class="method-row config-row-alt0 expandable notInherited">
2091 <td class="micon"><a class="exi" href="#expand"> </a></td>
2095 <a id="Roo.tree.TreePanel-method-selectPath" name=".selectPath"></a>
2096 <div class="fixedFont">
2097 <span class="attributes"></span><b class="itemname">selectPath</b>
2099 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>path</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attr</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>)
2106 <div class="short">Selects the node in this tree at the specified path.</div>
2112 Selects the node in this tree at the specified path. A path can be retrieved from a node with {<b>link</b> Roo.data.Node<b>getPath</b>}
2119 <dl class="detailList">
2120 <dt class="heading">Parameters:</dt>
2123 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>path</b>
2129 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attr</b>
2132 <dd>(optional) The attribute used in the path (see {<b>link</b> Roo.data.Node<b>getPath</b>} for more info)</dd>
2135 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
2138 <dd>(optional) The callback to call when the selection is complete. The callback will be called with<br/>(bSuccess, oSelNode) where bSuccess is if the selection was successful and oSelNode is the selected node.</dd>
2156 <td class="msource">
2164 <tr class="method-row config-row-alt1 expandable">
2165 <td class="micon"><a class="exi" href="#expand"> </a></td>
2169 <a id="Roo.data.Tree-method-setRootNode" name=".setRootNode"></a>
2170 <div class="fixedFont">
2171 <span class="attributes"></span><b class="itemname">setRootNode</b>
2173 (Node <B><i>node</i></B>)
2188 <div class="short">Sets the root node for this tree.</div>
2194 Sets the root node for this tree.
2201 <dl class="detailList">
2202 <dt class="heading">Parameters:</dt>
2205 <span class="fixedFont">Node</span> <b>node</b>
2216 <dl class="detailList">
2217 <dt class="heading">Returns:</dt>
2219 <dd><span class="fixedFont">Node</span> </dd>
2233 <td class="msource">
2235 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2241 <tr class="method-row config-row-alt0 expandable">
2242 <td class="micon"><a class="exi" href="#expand"> </a></td>
2246 <a id="Roo.util.Observable-method-un" name=".un"></a>
2247 <div class="fixedFont">
2248 <span class="attributes"></span><b class="itemname">un</b>
2250 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
2257 <div class="short">Removes a listener (shorthand for removeListener)</div>
2263 Removes a listener (shorthand for removeListener)
2270 <dl class="detailList">
2271 <dt class="heading">Parameters:</dt>
2274 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2277 <dd>The type of event to listen for</dd>
2280 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2283 <dd>The handler to remove</dd>
2286 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
2289 <dd>(optional) The scope (this object) for the handler</dd>
2307 <td class="msource">
2309 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2318 <!-- ============================== events summary / details ======================== -->
2321 <a id="Roo.tree.TreePanel-events"></a>
2330 <table cellspacing="0" class="member-table">
2331 <caption>Events</caption>
2334 <th class="sig-header" colspan="2">Event</th>
2335 <th class="msource-header">Defined By</th>
2344 <tr class="method-row expandable config-row-alt0">
2345 <td class="micon"><a class="exi" href="#expand"> </a></td>
2348 <a id="Roo.data.Tree-event-*append"></a>
2350 <div class="fixedFont">
2351 <b class="itemname">append</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>)
2357 <div class="short">Fires when a new child node is appended to a node in this tree.
2363 Fires when a new child node is appended to a node in this tree.
2369 <dl class="detailList">
2370 <dt class="heading">Parameters:</dt>
2373 <span class="fixedFont">Tree</span> <b>tree</b>
2376 <dd>The owner tree</dd>
2379 <span class="fixedFont">Node</span> <b>parent</b>
2382 <dd>The parent node</dd>
2385 <span class="fixedFont">Node</span> <b>node</b>
2388 <dd>The newly appended node</dd>
2391 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
2394 <dd>The index of the newly appended node</dd>
2412 <td class="msource">
2413 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2417 <tr class="method-row expandable config-row-alt1">
2418 <td class="micon"><a class="exi" href="#expand"> </a></td>
2421 <a id="Roo.data.Tree-event-*beforeappend"></a>
2423 <div class="fixedFont">
2424 <b class="itemname">beforeappend</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>)
2430 <div class="short">Fires before a new child is appended to a node in this tree, return false to cancel the append.
2436 Fires before a new child is appended to a node in this tree, return false to cancel the append.
2442 <dl class="detailList">
2443 <dt class="heading">Parameters:</dt>
2446 <span class="fixedFont">Tree</span> <b>tree</b>
2449 <dd>The owner tree</dd>
2452 <span class="fixedFont">Node</span> <b>parent</b>
2455 <dd>The parent node</dd>
2458 <span class="fixedFont">Node</span> <b>node</b>
2461 <dd>The child node to be appended</dd>
2479 <td class="msource">
2480 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2484 <tr class="method-row expandable config-row-alt0 notInherited">
2485 <td class="micon"><a class="exi" href="#expand"> </a></td>
2488 <a id="Roo.tree.TreePanel-event-*beforechildrenrendered"></a>
2490 <div class="fixedFont">
2491 <b class="itemname">beforechildrenrendered</b> (Node <B><i>node</i></B>)
2497 <div class="short">Fires right before the child nodes for a node are rendered
2503 Fires right before the child nodes for a node are rendered
2509 <dl class="detailList">
2510 <dt class="heading">Parameters:</dt>
2513 <span class="fixedFont">Node</span> <b>node</b>
2534 <td class="msource">
2539 <tr class="method-row expandable config-row-alt1 notInherited">
2540 <td class="micon"><a class="exi" href="#expand"> </a></td>
2543 <a id="Roo.tree.TreePanel-event-*beforeclick"></a>
2545 <div class="fixedFont">
2546 <b class="itemname">beforeclick</b> (Node <B><i>node</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
2552 <div class="short">Fires before click processing on a node.
2558 Fires before click processing on a node. Return false to cancel the default action.
2564 <dl class="detailList">
2565 <dt class="heading">Parameters:</dt>
2568 <span class="fixedFont">Node</span> <b>node</b>
2574 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2577 <dd>The event object</dd>
2595 <td class="msource">
2600 <tr class="method-row expandable config-row-alt0 notInherited">
2601 <td class="micon"><a class="exi" href="#expand"> </a></td>
2604 <a id="Roo.tree.TreePanel-event-*beforecollapse"></a>
2606 <div class="fixedFont">
2607 <b class="itemname">beforecollapse</b> (Node <B><i>node</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>anim</i></B>)
2613 <div class="short">Fires before a node is collapsed, return false to cancel.
2619 Fires before a node is collapsed, return false to cancel.
2625 <dl class="detailList">
2626 <dt class="heading">Parameters:</dt>
2629 <span class="fixedFont">Node</span> <b>node</b>
2635 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>deep</b>
2641 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>anim</b>
2662 <td class="msource">
2667 <tr class="method-row expandable config-row-alt1 notInherited">
2668 <td class="micon"><a class="exi" href="#expand"> </a></td>
2671 <a id="Roo.tree.TreePanel-event-*beforeexpand"></a>
2673 <div class="fixedFont">
2674 <b class="itemname">beforeexpand</b> (Node <B><i>node</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>anim</i></B>)
2680 <div class="short">Fires before a node is expanded, return false to cancel.
2686 Fires before a node is expanded, return false to cancel.
2692 <dl class="detailList">
2693 <dt class="heading">Parameters:</dt>
2696 <span class="fixedFont">Node</span> <b>node</b>
2702 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>deep</b>
2708 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>anim</b>
2729 <td class="msource">
2734 <tr class="method-row expandable config-row-alt0">
2735 <td class="micon"><a class="exi" href="#expand"> </a></td>
2738 <a id="Roo.data.Tree-event-*beforeinsert"></a>
2740 <div class="fixedFont">
2741 <b class="itemname">beforeinsert</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>, Node <B><i>refNode</i></B>)
2747 <div class="short">Fires before a new child is inserted in a node in this tree, return false to cancel the insert.
2753 Fires before a new child is inserted in a node in this tree, return false to cancel the insert.
2759 <dl class="detailList">
2760 <dt class="heading">Parameters:</dt>
2763 <span class="fixedFont">Tree</span> <b>tree</b>
2766 <dd>The owner tree</dd>
2769 <span class="fixedFont">Node</span> <b>parent</b>
2772 <dd>The parent node</dd>
2775 <span class="fixedFont">Node</span> <b>node</b>
2778 <dd>The child node to be inserted</dd>
2781 <span class="fixedFont">Node</span> <b>refNode</b>
2784 <dd>The child node the node is being inserted before</dd>
2802 <td class="msource">
2803 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2807 <tr class="method-row expandable config-row-alt1 notInherited">
2808 <td class="micon"><a class="exi" href="#expand"> </a></td>
2811 <a id="Roo.tree.TreePanel-event-*beforeload"></a>
2813 <div class="fixedFont">
2814 <b class="itemname">beforeload</b> (Node <B><i>node</i></B>)
2820 <div class="short">Fires before a node is loaded, return false to cancel
2826 Fires before a node is loaded, return false to cancel
2832 <dl class="detailList">
2833 <dt class="heading">Parameters:</dt>
2836 <span class="fixedFont">Node</span> <b>node</b>
2839 <dd>The node being loaded</dd>
2857 <td class="msource">
2862 <tr class="method-row expandable config-row-alt0">
2863 <td class="micon"><a class="exi" href="#expand"> </a></td>
2866 <a id="Roo.data.Tree-event-*beforemove"></a>
2868 <div class="fixedFont">
2869 <b class="itemname">beforemove</b> (Tree <B><i>tree</i></B>, Node <B><i>node</i></B>, Node <B><i>oldParent</i></B>, Node <B><i>newParent</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>)
2875 <div class="short">Fires before a node is moved to a new location in the tree.
2881 Fires before a node is moved to a new location in the tree. Return false to cancel the move.
2887 <dl class="detailList">
2888 <dt class="heading">Parameters:</dt>
2891 <span class="fixedFont">Tree</span> <b>tree</b>
2894 <dd>The owner tree</dd>
2897 <span class="fixedFont">Node</span> <b>node</b>
2900 <dd>The node being moved</dd>
2903 <span class="fixedFont">Node</span> <b>oldParent</b>
2906 <dd>The parent of the node</dd>
2909 <span class="fixedFont">Node</span> <b>newParent</b>
2912 <dd>The new parent the node is moving to</dd>
2915 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
2918 <dd>The index it is being moved to</dd>
2936 <td class="msource">
2937 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2941 <tr class="method-row expandable config-row-alt1 notInherited">
2942 <td class="micon"><a class="exi" href="#expand"> </a></td>
2945 <a id="Roo.tree.TreePanel-event-*beforenodedrop"></a>
2947 <div class="fixedFont">
2948 <b class="itemname">beforenodedrop</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>dropEvent</i></B>)
2954 <div class="short">Fires when a DD object is dropped on a node in this tree for preprocessing.
2960 Fires when a DD object is dropped on a node in this tree for preprocessing. Return false to cancel the drop. The dropEvent<br/>passed to handlers has the following properties:<br /><br/><ul style="padding:5px;padding-left:16px;"><br/><li>tree - The TreePanel</li><br/><li>target - The node being targeted for the drop</li><br/><li>data - The drag data from the drag source</li><br/><li>point - The point of the drop - append, above or below</li><br/><li>source - The drag source</li><br/><li>rawEvent - Raw mouse event</li><br/><li>dropNode - Drop node(s) provided by the source <b>OR</b> you can supply node(s)<br/>to be inserted by setting them on this object.</li><br/><li>cancel - Set this to true to cancel the drop.</li><br/></ul>
2966 <dl class="detailList">
2967 <dt class="heading">Parameters:</dt>
2970 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>dropEvent</b>
2991 <td class="msource">
2996 <tr class="method-row expandable config-row-alt0">
2997 <td class="micon"><a class="exi" href="#expand"> </a></td>
3000 <a id="Roo.data.Tree-event-*beforeremove"></a>
3002 <div class="fixedFont">
3003 <b class="itemname">beforeremove</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>)
3009 <div class="short">Fires before a child is removed from a node in this tree, return false to cancel the remove.
3015 Fires before a child is removed from a node in this tree, return false to cancel the remove.
3021 <dl class="detailList">
3022 <dt class="heading">Parameters:</dt>
3025 <span class="fixedFont">Tree</span> <b>tree</b>
3028 <dd>The owner tree</dd>
3031 <span class="fixedFont">Node</span> <b>parent</b>
3034 <dd>The parent node</dd>
3037 <span class="fixedFont">Node</span> <b>node</b>
3040 <dd>The child node to be removed</dd>
3058 <td class="msource">
3059 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
3063 <tr class="method-row expandable config-row-alt1 notInherited">
3064 <td class="micon"><a class="exi" href="#expand"> </a></td>
3067 <a id="Roo.tree.TreePanel-event-*checkchange"></a>
3069 <div class="fixedFont">
3070 <b class="itemname">checkchange</b> (Node <B><i>this</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>checked</i></B>)
3076 <div class="short">Fires when a node with a checkbox's checked property changes
3082 Fires when a node with a checkbox's checked property changes
3088 <dl class="detailList">
3089 <dt class="heading">Parameters:</dt>
3092 <span class="fixedFont">Node</span> <b>this</b>
3098 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>checked</b>
3119 <td class="msource">
3124 <tr class="method-row expandable config-row-alt0 notInherited">
3125 <td class="micon"><a class="exi" href="#expand"> </a></td>
3128 <a id="Roo.tree.TreePanel-event-*click"></a>
3130 <div class="fixedFont">
3131 <b class="itemname">click</b> (Node <B><i>node</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3137 <div class="short">Fires when a node is clicked
3143 Fires when a node is clicked
3149 <dl class="detailList">
3150 <dt class="heading">Parameters:</dt>
3153 <span class="fixedFont">Node</span> <b>node</b>
3159 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3162 <dd>The event object</dd>
3180 <td class="msource">
3185 <tr class="method-row expandable config-row-alt1 notInherited">
3186 <td class="micon"><a class="exi" href="#expand"> </a></td>
3189 <a id="Roo.tree.TreePanel-event-*collapse"></a>
3191 <div class="fixedFont">
3192 <b class="itemname">collapse</b> (Node <B><i>node</i></B>)
3198 <div class="short">Fires when a node is collapsed
3204 Fires when a node is collapsed
3210 <dl class="detailList">
3211 <dt class="heading">Parameters:</dt>
3214 <span class="fixedFont">Node</span> <b>node</b>
3235 <td class="msource">
3240 <tr class="method-row expandable config-row-alt0 notInherited">
3241 <td class="micon"><a class="exi" href="#expand"> </a></td>
3244 <a id="Roo.tree.TreePanel-event-*contextmenu"></a>
3246 <div class="fixedFont">
3247 <b class="itemname">contextmenu</b> (Node <B><i>node</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3253 <div class="short">Fires when a node is right clicked
3259 Fires when a node is right clicked
3265 <dl class="detailList">
3266 <dt class="heading">Parameters:</dt>
3269 <span class="fixedFont">Node</span> <b>node</b>
3275 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3278 <dd>The event object</dd>
3296 <td class="msource">
3301 <tr class="method-row expandable config-row-alt1 notInherited">
3302 <td class="micon"><a class="exi" href="#expand"> </a></td>
3305 <a id="Roo.tree.TreePanel-event-*dblclick"></a>
3307 <div class="fixedFont">
3308 <b class="itemname">dblclick</b> (Node <B><i>node</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3314 <div class="short">Fires when a node is double clicked
3320 Fires when a node is double clicked
3326 <dl class="detailList">
3327 <dt class="heading">Parameters:</dt>
3330 <span class="fixedFont">Node</span> <b>node</b>
3336 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3339 <dd>The event object</dd>
3357 <td class="msource">
3362 <tr class="method-row expandable config-row-alt0 notInherited">
3363 <td class="micon"><a class="exi" href="#expand"> </a></td>
3366 <a id="Roo.tree.TreePanel-event-*disabledchange"></a>
3368 <div class="fixedFont">
3369 <b class="itemname">disabledchange</b> (Node <B><i>node</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3375 <div class="short">Fires when the disabled status of a node changes
3381 Fires when the disabled status of a node changes
3387 <dl class="detailList">
3388 <dt class="heading">Parameters:</dt>
3391 <span class="fixedFont">Node</span> <b>node</b>
3397 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>disabled</b>
3418 <td class="msource">
3423 <tr class="method-row expandable config-row-alt1 notInherited">
3424 <td class="micon"><a class="exi" href="#expand"> </a></td>
3427 <a id="Roo.tree.TreePanel-event-*dragdrop"></a>
3429 <div class="fixedFont">
3430 <b class="itemname">dragdrop</b> (<a href="./Roo.tree.TreePanel.html#constructor" roo:cls="Roo.tree.TreePanel.html#constructor">Roo.tree.TreePanel</a> <B><i>this</i></B>, <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a> <B><i>node</i></B>, DD <B><i>dd</i></B>, event <B><i>e</i></B>)
3436 <div class="short">Fires when a dragged node is dropped on a valid DD target
3442 Fires when a dragged node is dropped on a valid DD target
3448 <dl class="detailList">
3449 <dt class="heading">Parameters:</dt>
3452 <span class="fixedFont"><a href="./Roo.tree.TreePanel.html#constructor" roo:cls="Roo.tree.TreePanel.html#constructor">Roo.tree.TreePanel</a></span> <b>this</b>
3458 <span class="fixedFont"><a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a></span> <b>node</b>
3464 <span class="fixedFont">DD</span> <b>dd</b>
3467 <dd>The dd it was dropped on</dd>
3470 <span class="fixedFont">event</span> <b>e</b>
3473 <dd>The raw browser event</dd>
3491 <td class="msource">
3496 <tr class="method-row expandable config-row-alt0 notInherited">
3497 <td class="micon"><a class="exi" href="#expand"> </a></td>
3500 <a id="Roo.tree.TreePanel-event-*enddrag"></a>
3502 <div class="fixedFont">
3503 <b class="itemname">enddrag</b> (<a href="./Roo.tree.TreePanel.html#constructor" roo:cls="Roo.tree.TreePanel.html#constructor">Roo.tree.TreePanel</a> <B><i>this</i></B>, <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a> <B><i>node</i></B>, event <B><i>e</i></B>)
3509 <div class="short">Fires when a drag operation is complete
3515 Fires when a drag operation is complete
3521 <dl class="detailList">
3522 <dt class="heading">Parameters:</dt>
3525 <span class="fixedFont"><a href="./Roo.tree.TreePanel.html#constructor" roo:cls="Roo.tree.TreePanel.html#constructor">Roo.tree.TreePanel</a></span> <b>this</b>
3531 <span class="fixedFont"><a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a></span> <b>node</b>
3537 <span class="fixedFont">event</span> <b>e</b>
3540 <dd>The raw browser event</dd>
3558 <td class="msource">
3563 <tr class="method-row expandable config-row-alt1 notInherited">
3564 <td class="micon"><a class="exi" href="#expand"> </a></td>
3567 <a id="Roo.tree.TreePanel-event-*expand"></a>
3569 <div class="fixedFont">
3570 <b class="itemname">expand</b> (Node <B><i>node</i></B>)
3576 <div class="short">Fires when a node is expanded
3582 Fires when a node is expanded
3588 <dl class="detailList">
3589 <dt class="heading">Parameters:</dt>
3592 <span class="fixedFont">Node</span> <b>node</b>
3613 <td class="msource">
3618 <tr class="method-row expandable config-row-alt0">
3619 <td class="micon"><a class="exi" href="#expand"> </a></td>
3622 <a id="Roo.data.Tree-event-*insert"></a>
3624 <div class="fixedFont">
3625 <b class="itemname">insert</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>, Node <B><i>refNode</i></B>)
3631 <div class="short">Fires when a new child node is inserted in a node in this tree.
3637 Fires when a new child node is inserted in a node in this tree.
3643 <dl class="detailList">
3644 <dt class="heading">Parameters:</dt>
3647 <span class="fixedFont">Tree</span> <b>tree</b>
3650 <dd>The owner tree</dd>
3653 <span class="fixedFont">Node</span> <b>parent</b>
3656 <dd>The parent node</dd>
3659 <span class="fixedFont">Node</span> <b>node</b>
3662 <dd>The child node inserted</dd>
3665 <span class="fixedFont">Node</span> <b>refNode</b>
3668 <dd>The child node the node was inserted before</dd>
3686 <td class="msource">
3687 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
3691 <tr class="method-row expandable config-row-alt1 notInherited">
3692 <td class="micon"><a class="exi" href="#expand"> </a></td>
3695 <a id="Roo.tree.TreePanel-event-*load"></a>
3697 <div class="fixedFont">
3698 <b class="itemname">load</b> (Node <B><i>node</i></B>)
3704 <div class="short">Fires when a node is loaded
3710 Fires when a node is loaded
3716 <dl class="detailList">
3717 <dt class="heading">Parameters:</dt>
3720 <span class="fixedFont">Node</span> <b>node</b>
3723 <dd>The node that was loaded</dd>
3741 <td class="msource">
3746 <tr class="method-row expandable config-row-alt0">
3747 <td class="micon"><a class="exi" href="#expand"> </a></td>
3750 <a id="Roo.data.Tree-event-*move"></a>
3752 <div class="fixedFont">
3753 <b class="itemname">move</b> (Tree <B><i>tree</i></B>, Node <B><i>node</i></B>, Node <B><i>oldParent</i></B>, Node <B><i>newParent</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>)
3759 <div class="short">Fires when a node is moved to a new location in the tree
3765 Fires when a node is moved to a new location in the tree
3771 <dl class="detailList">
3772 <dt class="heading">Parameters:</dt>
3775 <span class="fixedFont">Tree</span> <b>tree</b>
3778 <dd>The owner tree</dd>
3781 <span class="fixedFont">Node</span> <b>node</b>
3784 <dd>The node moved</dd>
3787 <span class="fixedFont">Node</span> <b>oldParent</b>
3790 <dd>The old parent of this node</dd>
3793 <span class="fixedFont">Node</span> <b>newParent</b>
3796 <dd>The new parent of this node</dd>
3799 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
3802 <dd>The index it was moved to</dd>
3820 <td class="msource">
3821 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
3825 <tr class="method-row expandable config-row-alt1 notInherited">
3826 <td class="micon"><a class="exi" href="#expand"> </a></td>
3829 <a id="Roo.tree.TreePanel-event-*nodedragover"></a>
3831 <div class="fixedFont">
3832 <b class="itemname">nodedragover</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>dragOverEvent</i></B>)
3838 <div class="short">Fires when a tree node is being targeted for a drag drop, return false to signal drop not allowed.
3844 Fires when a tree node is being targeted for a drag drop, return false to signal drop not allowed. The dragOverEvent<br/>passed to handlers has the following properties:<br /><br/><ul style="padding:5px;padding-left:16px;"><br/><li>tree - The TreePanel</li><br/><li>target - The node being targeted for the drop</li><br/><li>data - The drag data from the drag source</li><br/><li>point - The point of the drop - append, above or below</li><br/><li>source - The drag source</li><br/><li>rawEvent - Raw mouse event</li><br/><li>dropNode - Drop node(s) provided by the source.</li><br/><li>cancel - Set this to true to signal drop not allowed.</li><br/></ul>
3850 <dl class="detailList">
3851 <dt class="heading">Parameters:</dt>
3854 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>dragOverEvent</b>
3875 <td class="msource">
3880 <tr class="method-row expandable config-row-alt0 notInherited">
3881 <td class="micon"><a class="exi" href="#expand"> </a></td>
3884 <a id="Roo.tree.TreePanel-event-*nodedrop"></a>
3886 <div class="fixedFont">
3887 <b class="itemname">nodedrop</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>dropEvent</i></B>)
3893 <div class="short">Fires after a DD object is dropped on a node in this tree.
3899 Fires after a DD object is dropped on a node in this tree. The dropEvent<br/>passed to handlers has the following properties:<br /><br/><ul style="padding:5px;padding-left:16px;"><br/><li>tree - The TreePanel</li><br/><li>target - The node being targeted for the drop</li><br/><li>data - The drag data from the drag source</li><br/><li>point - The point of the drop - append, above or below</li><br/><li>source - The drag source</li><br/><li>rawEvent - Raw mouse event</li><br/><li>dropNode - Dropped node(s).</li><br/></ul>
3905 <dl class="detailList">
3906 <dt class="heading">Parameters:</dt>
3909 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>dropEvent</b>
3930 <td class="msource">
3935 <tr class="method-row expandable config-row-alt1">
3936 <td class="micon"><a class="exi" href="#expand"> </a></td>
3939 <a id="Roo.data.Tree-event-*remove"></a>
3941 <div class="fixedFont">
3942 <b class="itemname">remove</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>)
3948 <div class="short">Fires when a child node is removed from a node in this tree.
3954 Fires when a child node is removed from a node in this tree.
3960 <dl class="detailList">
3961 <dt class="heading">Parameters:</dt>
3964 <span class="fixedFont">Tree</span> <b>tree</b>
3967 <dd>The owner tree</dd>
3970 <span class="fixedFont">Node</span> <b>parent</b>
3973 <dd>The parent node</dd>
3976 <span class="fixedFont">Node</span> <b>node</b>
3979 <dd>The child node removed</dd>
3997 <td class="msource">
3998 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
4002 <tr class="method-row expandable config-row-alt0 notInherited">
4003 <td class="micon"><a class="exi" href="#expand"> </a></td>
4006 <a id="Roo.tree.TreePanel-event-*startdrag"></a>
4008 <div class="fixedFont">
4009 <b class="itemname">startdrag</b> (<a href="./Roo.tree.TreePanel.html#constructor" roo:cls="Roo.tree.TreePanel.html#constructor">Roo.tree.TreePanel</a> <B><i>this</i></B>, <a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a> <B><i>node</i></B>, event <B><i>e</i></B>)
4015 <div class="short">Fires when a node starts being dragged
4021 Fires when a node starts being dragged
4027 <dl class="detailList">
4028 <dt class="heading">Parameters:</dt>
4031 <span class="fixedFont"><a href="./Roo.tree.TreePanel.html#constructor" roo:cls="Roo.tree.TreePanel.html#constructor">Roo.tree.TreePanel</a></span> <b>this</b>
4037 <span class="fixedFont"><a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a></span> <b>node</b>
4043 <span class="fixedFont">event</span> <b>e</b>
4046 <dd>The raw browser event</dd>
4064 <td class="msource">
4069 <tr class="method-row expandable config-row-alt1 notInherited">
4070 <td class="micon"><a class="exi" href="#expand"> </a></td>
4073 <a id="Roo.tree.TreePanel-event-*textchange"></a>
4075 <div class="fixedFont">
4076 <b class="itemname">textchange</b> (Node <B><i>node</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>oldText</i></B>)
4082 <div class="short">Fires when the text for a node is changed
4088 Fires when the text for a node is changed
4094 <dl class="detailList">
4095 <dt class="heading">Parameters:</dt>
4098 <span class="fixedFont">Node</span> <b>node</b>
4104 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
4107 <dd>The new text</dd>
4110 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldText</b>
4113 <dd>The old text</dd>
4131 <td class="msource">
4143 <!-- ============================== footer ================================= -->
4144 <div class="fineprint" style="clear:both">
4146 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Mon Feb 22 2016 16:55:44 GMT+0800 (HKT)
4148 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>