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>
144 <div class="long">true to enable animated expand/collapse (defaults to the value of Roo.enableFx)</div>
158 <tr class="config-row expandable config-row-alt1 notInherited">
159 <td class="micon"><a class="exi" href="#expand"> </a></td>
162 <a id="Roo.tree.TreePanel-cfg-containerScroll" name=".containerScroll"></a>
163 <div class="fixedFont">
164 <b class="itemname">containerScroll</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
170 <div class="short">true to register this container with ScrollManager</div>
174 <div class="long">true to register this container with ScrollManager</div>
188 <tr class="config-row expandable config-row-alt0 notInherited">
189 <td class="micon"><a class="exi" href="#expand"> </a></td>
192 <a id="Roo.tree.TreePanel-cfg-ddAppendOnly" name=".ddAppendOnly"></a>
193 <div class="fixedFont">
194 <b class="itemname">ddAppendOnly</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
200 <div class="short">True if the tree should only allow append drops (use for trees which are sorted)</div>
204 <div class="long">True if the tree should only allow append drops (use for trees which are sorted)</div>
218 <tr class="config-row expandable config-row-alt1 notInherited">
219 <td class="micon"><a class="exi" href="#expand"> </a></td>
222 <a id="Roo.tree.TreePanel-cfg-ddGroup" name=".ddGroup"></a>
223 <div class="fixedFont">
224 <b class="itemname">ddGroup</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
230 <div class="short">The DD group this TreePanel belongs to</div>
234 <div class="long">The DD group this TreePanel belongs to</div>
248 <tr class="config-row expandable config-row-alt0 notInherited">
249 <td class="micon"><a class="exi" href="#expand"> </a></td>
252 <a id="Roo.tree.TreePanel-cfg-ddScroll" name=".ddScroll"></a>
253 <div class="fixedFont">
254 <b class="itemname">ddScroll</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
260 <div class="short">true to enable YUI body scrolling</div>
264 <div class="long">true to enable YUI body scrolling</div>
278 <tr class="config-row expandable config-row-alt1 notInherited">
279 <td class="micon"><a class="exi" href="#expand"> </a></td>
282 <a id="Roo.tree.TreePanel-cfg-dragConfig" name=".dragConfig"></a>
283 <div class="fixedFont">
284 <b class="itemname">dragConfig</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
290 <div class="short">Custom config to pass to the {<b>link</b> Roo.tree.TreeDragZone} instance</div>
294 <div class="long">Custom config to pass to the {<b>link</b> Roo.tree.TreeDragZone} instance</div>
308 <tr class="config-row expandable config-row-alt0 notInherited">
309 <td class="micon"><a class="exi" href="#expand"> </a></td>
312 <a id="Roo.tree.TreePanel-cfg-dropConfig" name=".dropConfig"></a>
313 <div class="fixedFont">
314 <b class="itemname">dropConfig</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
320 <div class="short">Custom config to pass to the {<b>link</b> Roo.tree.TreeDropZone} instance</div>
324 <div class="long">Custom config to pass to the {<b>link</b> Roo.tree.TreeDropZone} instance</div>
338 <tr class="config-row expandable config-row-alt1 notInherited">
339 <td class="micon"><a class="exi" href="#expand"> </a></td>
342 <a id="Roo.tree.TreePanel-cfg-editor" name=".editor"></a>
343 <div class="fixedFont">
344 <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>
350 <div class="short">The TreeEditor or xtype data to display when clicked.</div>
354 <div class="long">The TreeEditor or xtype data to display when clicked.</div>
368 <tr class="config-row expandable config-row-alt0 notInherited">
369 <td class="micon"><a class="exi" href="#expand"> </a></td>
372 <a id="Roo.tree.TreePanel-cfg-enableDD" name=".enableDD"></a>
373 <div class="fixedFont">
374 <b class="itemname">enableDD</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
380 <div class="short">true to enable drag and drop</div>
384 <div class="long">true to enable drag and drop</div>
398 <tr class="config-row expandable config-row-alt1 notInherited">
399 <td class="micon"><a class="exi" href="#expand"> </a></td>
402 <a id="Roo.tree.TreePanel-cfg-enableDrag" name=".enableDrag"></a>
403 <div class="fixedFont">
404 <b class="itemname">enableDrag</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
410 <div class="short">true to enable just drag</div>
414 <div class="long">true to enable just drag</div>
428 <tr class="config-row expandable config-row-alt0 notInherited">
429 <td class="micon"><a class="exi" href="#expand"> </a></td>
432 <a id="Roo.tree.TreePanel-cfg-enableDrop" name=".enableDrop"></a>
433 <div class="fixedFont">
434 <b class="itemname">enableDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
440 <div class="short">true to enable just drop</div>
444 <div class="long">true to enable just drop</div>
458 <tr class="config-row expandable config-row-alt1 notInherited">
459 <td class="micon"><a class="exi" href="#expand"> </a></td>
462 <a id="Roo.tree.TreePanel-cfg-hlColor" name=".hlColor"></a>
463 <div class="fixedFont">
464 <b class="itemname">hlColor</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
470 <div class="short">The color of the node highlight (defaults to C3DAF9)</div>
474 <div class="long">The color of the node highlight (defaults to C3DAF9)</div>
488 <tr class="config-row expandable config-row-alt0 notInherited">
489 <td class="micon"><a class="exi" href="#expand"> </a></td>
492 <a id="Roo.tree.TreePanel-cfg-hlDrop" name=".hlDrop"></a>
493 <div class="fixedFont">
494 <b class="itemname">hlDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
500 <div class="short">false to disable node highlight on drop (defaults to the value of Roo.enableFx)</div>
504 <div class="long">false to disable node highlight on drop (defaults to the value of Roo.enableFx)</div>
518 <tr class="config-row expandable config-row-alt1 notInherited">
519 <td class="micon"><a class="exi" href="#expand"> </a></td>
522 <a id="Roo.tree.TreePanel-cfg-lines" name=".lines"></a>
523 <div class="fixedFont">
524 <b class="itemname">lines</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
530 <div class="short">false to disable tree lines (defaults to true)</div>
534 <div class="long">false to disable tree lines (defaults to true)</div>
548 <tr class="config-row expandable config-row-alt0">
549 <td class="micon"><a class="exi" href="#expand"> </a></td>
552 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
553 <div class="fixedFont">
554 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
560 <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>
564 <div class="long">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></div>
572 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
578 <tr class="config-row expandable config-row-alt1 notInherited">
579 <td class="micon"><a class="exi" href="#expand"> </a></td>
582 <a id="Roo.tree.TreePanel-cfg-loader" name=".loader"></a>
583 <div class="fixedFont">
584 <b class="itemname">loader</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
590 <div class="short">A TreeLoader for use with this TreePanel</div>
594 <div class="long">A TreeLoader for use with this TreePanel</div>
608 <tr class="config-row expandable config-row-alt0 notInherited">
609 <td class="micon"><a class="exi" href="#expand"> </a></td>
612 <a id="Roo.tree.TreePanel-cfg-pathSeparator" name=".pathSeparator"></a>
613 <div class="fixedFont">
614 <b class="itemname">pathSeparator</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
620 <div class="short">The token used to separate sub-paths in path strings (defaults to '/')</div>
624 <div class="long">The token used to separate sub-paths in path strings (defaults to '/')</div>
638 <tr class="config-row expandable config-row-alt1 notInherited">
639 <td class="micon"><a class="exi" href="#expand"> </a></td>
642 <a id="Roo.tree.TreePanel-cfg-renderer" name=".renderer"></a>
643 <div class="fixedFont">
644 <b class="itemname">renderer</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
650 <div class="short">DEPRECATED - use TreeLoader:create event / Sets the rendering (formatting) function for the nodes.</div>
654 <div class="long">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></div>
668 <tr class="config-row expandable config-row-alt0 notInherited">
669 <td class="micon"><a class="exi" href="#expand"> </a></td>
672 <a id="Roo.tree.TreePanel-cfg-rendererTip" name=".rendererTip"></a>
673 <div class="fixedFont">
674 <b class="itemname">rendererTip</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
680 <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>
684 <div class="long">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></div>
698 <tr class="config-row expandable config-row-alt1 notInherited">
699 <td class="micon"><a class="exi" href="#expand"> </a></td>
702 <a id="Roo.tree.TreePanel-cfg-rootVisible" name=".rootVisible"></a>
703 <div class="fixedFont">
704 <b class="itemname">rootVisible</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
710 <div class="short">false to hide the root node (defaults to true)</div>
714 <div class="long">false to hide the root node (defaults to true)</div>
728 <tr class="config-row expandable config-row-alt0 notInherited">
729 <td class="micon"><a class="exi" href="#expand"> </a></td>
732 <a id="Roo.tree.TreePanel-cfg-selModel" name=".selModel"></a>
733 <div class="fixedFont">
734 <b class="itemname">selModel</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
740 <div class="short">A tree selection model to use with this TreePanel (defaults to a {<b>link</b> Roo.tree.DefaultSelectionModel})</div>
744 <div class="long">A tree selection model to use with this TreePanel (defaults to a {<b>link</b> Roo.tree.DefaultSelectionModel})</div>
758 <tr class="config-row expandable config-row-alt1 notInherited">
759 <td class="micon"><a class="exi" href="#expand"> </a></td>
762 <a id="Roo.tree.TreePanel-cfg-singleExpand" name=".singleExpand"></a>
763 <div class="fixedFont">
764 <b class="itemname">singleExpand</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
770 <div class="short">true if only 1 node per branch may be expanded</div>
774 <div class="long">true if only 1 node per branch may be expanded</div>
798 <!-- ============================== public properties ==================== -->
802 <a id="Roo.tree.TreePanel-props"></a>
808 <table cellspacing="0" class="member-table">
809 <caption class="Empty">Public Properties - Has None</caption>
815 <!-- ============================== methods summary / details ======================== -->
818 <a id="Roo.tree.TreePanel-methods"></a>
819 <!-- constructor?? -->
826 <!-- then dynamics first -->
833 <table cellspacing="0" class="member-table">
834 <caption>Public Methods</caption>
836 <th class="sig-header" colspan="2">Method</th>
837 <th class="msource-header">Defined By</th>
847 <tr class="method-row config-row-alt0 expandable notInherited">
848 <td class="micon"><a class="exi" href="#expand"> </a></td>
852 <a id="Roo.tree-method-TreePanel" name=".TreePanel"></a>
853 <div class="fixedFont">
854 <span class="attributes">new <B>Roo.tree.</B></span><b class="itemname">TreePanel</b>
856 (<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>)
864 <div class="short">Create a new Roo.tree.TreePanel</div>
871 Create a new Roo.tree.TreePanel
874 <dl class="detailList">
875 <dt class="heading">Parameters:</dt>
878 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
881 <dd>The container element</dd>
884 <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>
911 <tr class="method-row config-row-alt1 expandable">
912 <td class="micon"><a class="exi" href="#expand"> </a></td>
916 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
917 <div class="fixedFont">
918 <span class="attributes"></span><b class="itemname">addEvents</b>
920 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
927 <div class="short">Used to define events on this Observable</div>
933 Used to define events on this Observable
940 <dl class="detailList">
941 <dt class="heading">Parameters:</dt>
944 <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>
947 <dd>The object with the events defined</dd>
967 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
973 <tr class="method-row config-row-alt0 expandable">
974 <td class="micon"><a class="exi" href="#expand"> </a></td>
978 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
979 <div class="fixedFont">
980 <span class="attributes"></span><b class="itemname">addListener</b>
982 (<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>)
989 <div class="short">Appends an event handler to this component</div>
995 Appends an event handler to this component
1002 <dl class="detailList">
1003 <dt class="heading">Parameters:</dt>
1006 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1009 <dd>The type of event to listen for</dd>
1012 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1015 <dd>The method the event invokes</dd>
1018 <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>
1021 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1024 <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>
1027 <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>
1045 <td class="msource">
1047 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1053 <tr class="method-row config-row-alt1 expandable notInherited">
1054 <td class="micon"><a class="exi" href="#expand"> </a></td>
1058 <a id="Roo.tree.TreePanel-method-collapseAll" name=".collapseAll"></a>
1059 <div class="fixedFont">
1060 <span class="attributes"></span><b class="itemname">collapseAll</b>
1069 <div class="short">Collapse all nodes</div>
1096 <td class="msource">
1104 <tr class="method-row config-row-alt0 expandable notInherited">
1105 <td class="micon"><a class="exi" href="#expand"> </a></td>
1109 <a id="Roo.tree.TreePanel-method-expandAll" name=".expandAll"></a>
1110 <div class="fixedFont">
1111 <span class="attributes"></span><b class="itemname">expandAll</b>
1120 <div class="short">Expand all nodes</div>
1147 <td class="msource">
1155 <tr class="method-row config-row-alt1 expandable notInherited">
1156 <td class="micon"><a class="exi" href="#expand"> </a></td>
1160 <a id="Roo.tree.TreePanel-method-expandPath" name=".expandPath"></a>
1161 <div class="fixedFont">
1162 <span class="attributes"></span><b class="itemname">expandPath</b>
1164 (<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>)
1171 <div class="short">Expands a specified path in this TreePanel.</div>
1177 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>}
1184 <dl class="detailList">
1185 <dt class="heading">Parameters:</dt>
1188 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>path</b>
1194 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attr</b>
1197 <dd>(optional) The attribute used in the path (see {<b>link</b> Roo.data.Node<b>getPath</b>} for more info)</dd>
1200 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
1203 <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>
1221 <td class="msource">
1229 <tr class="method-row config-row-alt0 expandable">
1230 <td class="micon"><a class="exi" href="#expand"> </a></td>
1234 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1235 <div class="fixedFont">
1236 <span class="attributes"></span><b class="itemname">fireEvent</b>
1238 (<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>)
1244 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1253 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1259 Fires the specified event with the passed parameters (minus the event name).
1266 <dl class="detailList">
1267 <dt class="heading">Parameters:</dt>
1270 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1276 <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>
1279 <dd>Variable number of parameters are passed to handlers</dd>
1287 <dl class="detailList">
1288 <dt class="heading">Returns:</dt>
1290 <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>
1304 <td class="msource">
1306 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1312 <tr class="method-row config-row-alt1 expandable notInherited">
1313 <td class="micon"><a class="exi" href="#expand"> </a></td>
1317 <a id="Roo.tree.TreePanel-method-getChecked" name=".getChecked"></a>
1318 <div class="fixedFont">
1319 <span class="attributes"></span><b class="itemname">getChecked</b>
1321 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attribute</i></B>, TreeNode <B><i>startNode</i></B>)
1327 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
1336 <div class="short">Retrieve an array of checked nodes, or an array of a specific attribute of checked nodes (e.g.</div>
1342 Retrieve an array of checked nodes, or an array of a specific attribute of checked nodes (e.g. "id")
1349 <dl class="detailList">
1350 <dt class="heading">Parameters:</dt>
1353 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attribute</b>
1356 <dd>(optional) Defaults to null (return the actual nodes)</dd>
1359 <span class="fixedFont">TreeNode</span> <b>startNode</b>
1362 <dd>(optional) The node to start from, defaults to the root</dd>
1370 <dl class="detailList">
1371 <dt class="heading">Returns:</dt>
1373 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> </dd>
1387 <td class="msource">
1395 <tr class="method-row config-row-alt0 expandable notInherited">
1396 <td class="micon"><a class="exi" href="#expand"> </a></td>
1400 <a id="Roo.tree.TreePanel-method-getEl" name=".getEl"></a>
1401 <div class="fixedFont">
1402 <span class="attributes"></span><b class="itemname">getEl</b>
1411 <div class="short">Returns the container element for this TreePanel</div>
1417 Returns the container element for this TreePanel
1438 <td class="msource">
1446 <tr class="method-row config-row-alt1 expandable notInherited">
1447 <td class="micon"><a class="exi" href="#expand"> </a></td>
1451 <a id="Roo.tree.TreePanel-method-getLoader" name=".getLoader"></a>
1452 <div class="fixedFont">
1453 <span class="attributes"></span><b class="itemname">getLoader</b>
1462 <div class="short">Returns the default TreeLoader for this TreePanel</div>
1468 Returns the default TreeLoader for this TreePanel
1489 <td class="msource">
1497 <tr class="method-row config-row-alt0 expandable">
1498 <td class="micon"><a class="exi" href="#expand"> </a></td>
1502 <a id="Roo.data.Tree-method-getNodeById" name=".getNodeById"></a>
1503 <div class="fixedFont">
1504 <span class="attributes"></span><b class="itemname">getNodeById</b>
1506 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>)
1521 <div class="short">Gets a node in this tree by its id.</div>
1527 Gets a node in this tree by its id.
1534 <dl class="detailList">
1535 <dt class="heading">Parameters:</dt>
1538 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
1549 <dl class="detailList">
1550 <dt class="heading">Returns:</dt>
1552 <dd><span class="fixedFont">Node</span> </dd>
1566 <td class="msource">
1568 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
1574 <tr class="method-row config-row-alt1 expandable">
1575 <td class="micon"><a class="exi" href="#expand"> </a></td>
1579 <a id="Roo.data.Tree-method-getRootNode" name=".getRootNode"></a>
1580 <div class="fixedFont">
1581 <span class="attributes"></span><b class="itemname">getRootNode</b>
1598 <div class="short">Returns the root node for this tree.</div>
1604 Returns the root node for this tree.
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-alt0 expandable notInherited">
1641 <td class="micon"><a class="exi" href="#expand"> </a></td>
1645 <a id="Roo.tree.TreePanel-method-getSelectionModel" name=".getSelectionModel"></a>
1646 <div class="fixedFont">
1647 <span class="attributes"></span><b class="itemname">getSelectionModel</b>
1656 <div class="short">Returns the selection model used by this TreePanel</div>
1662 Returns the selection model used by this TreePanel
1683 <td class="msource">
1691 <tr class="method-row config-row-alt1 expandable">
1692 <td class="micon"><a class="exi" href="#expand"> </a></td>
1696 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1697 <div class="fixedFont">
1698 <span class="attributes"></span><b class="itemname">hasListener</b>
1700 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1706 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1715 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1721 Checks to see if this object has any listeners for a specified event
1728 <dl class="detailList">
1729 <dt class="heading">Parameters:</dt>
1732 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1735 <dd>The name of the event to check for</dd>
1743 <dl class="detailList">
1744 <dt class="heading">Returns:</dt>
1746 <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>
1760 <td class="msource">
1762 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1768 <tr class="method-row config-row-alt0 expandable">
1769 <td class="micon"><a class="exi" href="#expand"> </a></td>
1773 <a id="Roo.util.Observable-method-on" name=".on"></a>
1774 <div class="fixedFont">
1775 <span class="attributes"></span><b class="itemname">on</b>
1777 (<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>)
1784 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1790 Appends an event handler to this element (shorthand for addListener)
1797 <dl class="detailList">
1798 <dt class="heading">Parameters:</dt>
1801 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1804 <dd>The type of event to listen for</dd>
1807 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1810 <dd>The method the event invokes</dd>
1813 <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>
1816 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1819 <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>
1840 <td class="msource">
1842 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1848 <tr class="method-row config-row-alt1 expandable">
1849 <td class="micon"><a class="exi" href="#expand"> </a></td>
1853 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1854 <div class="fixedFont">
1855 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1864 <div class="short">Removes all listeners for this object</div>
1870 Removes all listeners for this object
1891 <td class="msource">
1893 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1899 <tr class="method-row config-row-alt0 expandable">
1900 <td class="micon"><a class="exi" href="#expand"> </a></td>
1904 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1905 <div class="fixedFont">
1906 <span class="attributes"></span><b class="itemname">removeListener</b>
1908 (<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>)
1915 <div class="short">Removes a listener</div>
1928 <dl class="detailList">
1929 <dt class="heading">Parameters:</dt>
1932 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1935 <dd>The type of event to listen for</dd>
1938 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1941 <dd>The handler to remove</dd>
1944 <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>
1947 <dd>(optional) The scope (this object) for the handler</dd>
1965 <td class="msource">
1967 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1973 <tr class="method-row config-row-alt1 expandable notInherited">
1974 <td class="micon"><a class="exi" href="#expand"> </a></td>
1978 <a id="Roo.tree.TreePanel-method-render" name=".render"></a>
1979 <div class="fixedFont">
1980 <span class="attributes"></span><b class="itemname">render</b>
1989 <div class="short">Trigger rendering of this TreePanel</div>
1995 Trigger rendering of this TreePanel
2016 <td class="msource">
2024 <tr class="method-row config-row-alt0 expandable notInherited">
2025 <td class="micon"><a class="exi" href="#expand"> </a></td>
2029 <a id="Roo.tree.TreePanel-method-selectPath" name=".selectPath"></a>
2030 <div class="fixedFont">
2031 <span class="attributes"></span><b class="itemname">selectPath</b>
2033 (<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>)
2040 <div class="short">Selects the node in this tree at the specified path.</div>
2046 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>}
2053 <dl class="detailList">
2054 <dt class="heading">Parameters:</dt>
2057 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>path</b>
2063 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attr</b>
2066 <dd>(optional) The attribute used in the path (see {<b>link</b> Roo.data.Node<b>getPath</b>} for more info)</dd>
2069 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
2072 <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>
2090 <td class="msource">
2098 <tr class="method-row config-row-alt1 expandable">
2099 <td class="micon"><a class="exi" href="#expand"> </a></td>
2103 <a id="Roo.data.Tree-method-setRootNode" name=".setRootNode"></a>
2104 <div class="fixedFont">
2105 <span class="attributes"></span><b class="itemname">setRootNode</b>
2107 (Node <B><i>node</i></B>)
2122 <div class="short">Sets the root node for this tree.</div>
2128 Sets the root node for this tree.
2135 <dl class="detailList">
2136 <dt class="heading">Parameters:</dt>
2139 <span class="fixedFont">Node</span> <b>node</b>
2150 <dl class="detailList">
2151 <dt class="heading">Returns:</dt>
2153 <dd><span class="fixedFont">Node</span> </dd>
2167 <td class="msource">
2169 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2175 <tr class="method-row config-row-alt0 expandable">
2176 <td class="micon"><a class="exi" href="#expand"> </a></td>
2180 <a id="Roo.util.Observable-method-un" name=".un"></a>
2181 <div class="fixedFont">
2182 <span class="attributes"></span><b class="itemname">un</b>
2184 (<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>)
2191 <div class="short">Removes a listener (shorthand for removeListener)</div>
2197 Removes a listener (shorthand for removeListener)
2204 <dl class="detailList">
2205 <dt class="heading">Parameters:</dt>
2208 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2211 <dd>The type of event to listen for</dd>
2214 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2217 <dd>The handler to remove</dd>
2220 <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>
2223 <dd>(optional) The scope (this object) for the handler</dd>
2241 <td class="msource">
2243 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2252 <!-- ============================== events summary / details ======================== -->
2255 <a id="Roo.tree.TreePanel-events"></a>
2264 <table cellspacing="0" class="member-table">
2265 <caption>Events</caption>
2268 <th class="sig-header" colspan="2">Event</th>
2269 <th class="msource-header">Defined By</th>
2278 <tr class="method-row expandable config-row-alt0">
2279 <td class="micon"><a class="exi" href="#expand"> </a></td>
2282 <a id="Roo.data.Tree-event-*append"></a>
2284 <div class="fixedFont">
2285 <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>)
2291 <div class="short">Fires when a new child node is appended to a node in this tree.
2297 Fires when a new child node is appended to a node in this tree.
2303 <dl class="detailList">
2304 <dt class="heading">Parameters:</dt>
2307 <span class="fixedFont">Tree</span> <b>tree</b>
2310 <dd>The owner tree</dd>
2313 <span class="fixedFont">Node</span> <b>parent</b>
2316 <dd>The parent node</dd>
2319 <span class="fixedFont">Node</span> <b>node</b>
2322 <dd>The newly appended node</dd>
2325 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
2328 <dd>The index of the newly appended node</dd>
2346 <td class="msource">
2347 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2351 <tr class="method-row expandable config-row-alt1">
2352 <td class="micon"><a class="exi" href="#expand"> </a></td>
2355 <a id="Roo.data.Tree-event-*beforeappend"></a>
2357 <div class="fixedFont">
2358 <b class="itemname">beforeappend</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>)
2364 <div class="short">Fires before a new child is appended to a node in this tree, return false to cancel the append.
2370 Fires before a new child is appended to a node in this tree, return false to cancel the append.
2376 <dl class="detailList">
2377 <dt class="heading">Parameters:</dt>
2380 <span class="fixedFont">Tree</span> <b>tree</b>
2383 <dd>The owner tree</dd>
2386 <span class="fixedFont">Node</span> <b>parent</b>
2389 <dd>The parent node</dd>
2392 <span class="fixedFont">Node</span> <b>node</b>
2395 <dd>The child node to be appended</dd>
2413 <td class="msource">
2414 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2418 <tr class="method-row expandable config-row-alt0 notInherited">
2419 <td class="micon"><a class="exi" href="#expand"> </a></td>
2422 <a id="Roo.tree.TreePanel-event-*beforechildrenrendered"></a>
2424 <div class="fixedFont">
2425 <b class="itemname">beforechildrenrendered</b> (Node <B><i>node</i></B>)
2431 <div class="short">Fires right before the child nodes for a node are rendered
2437 Fires right before the child nodes for a node are rendered
2443 <dl class="detailList">
2444 <dt class="heading">Parameters:</dt>
2447 <span class="fixedFont">Node</span> <b>node</b>
2468 <td class="msource">
2473 <tr class="method-row expandable config-row-alt1 notInherited">
2474 <td class="micon"><a class="exi" href="#expand"> </a></td>
2477 <a id="Roo.tree.TreePanel-event-*beforeclick"></a>
2479 <div class="fixedFont">
2480 <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>)
2486 <div class="short">Fires before click processing on a node.
2492 Fires before click processing on a node. Return false to cancel the default action.
2498 <dl class="detailList">
2499 <dt class="heading">Parameters:</dt>
2502 <span class="fixedFont">Node</span> <b>node</b>
2508 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2511 <dd>The event object</dd>
2529 <td class="msource">
2534 <tr class="method-row expandable config-row-alt0 notInherited">
2535 <td class="micon"><a class="exi" href="#expand"> </a></td>
2538 <a id="Roo.tree.TreePanel-event-*beforecollapse"></a>
2540 <div class="fixedFont">
2541 <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>)
2547 <div class="short">Fires before a node is collapsed, return false to cancel.
2553 Fires before a node is collapsed, return false to cancel.
2559 <dl class="detailList">
2560 <dt class="heading">Parameters:</dt>
2563 <span class="fixedFont">Node</span> <b>node</b>
2569 <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>
2575 <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>
2596 <td class="msource">
2601 <tr class="method-row expandable config-row-alt1 notInherited">
2602 <td class="micon"><a class="exi" href="#expand"> </a></td>
2605 <a id="Roo.tree.TreePanel-event-*beforeexpand"></a>
2607 <div class="fixedFont">
2608 <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>)
2614 <div class="short">Fires before a node is expanded, return false to cancel.
2620 Fires before a node is expanded, return false to cancel.
2626 <dl class="detailList">
2627 <dt class="heading">Parameters:</dt>
2630 <span class="fixedFont">Node</span> <b>node</b>
2636 <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>
2642 <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>
2663 <td class="msource">
2668 <tr class="method-row expandable config-row-alt0">
2669 <td class="micon"><a class="exi" href="#expand"> </a></td>
2672 <a id="Roo.data.Tree-event-*beforeinsert"></a>
2674 <div class="fixedFont">
2675 <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>)
2681 <div class="short">Fires before a new child is inserted in a node in this tree, return false to cancel the insert.
2687 Fires before a new child is inserted in a node in this tree, return false to cancel the insert.
2693 <dl class="detailList">
2694 <dt class="heading">Parameters:</dt>
2697 <span class="fixedFont">Tree</span> <b>tree</b>
2700 <dd>The owner tree</dd>
2703 <span class="fixedFont">Node</span> <b>parent</b>
2706 <dd>The parent node</dd>
2709 <span class="fixedFont">Node</span> <b>node</b>
2712 <dd>The child node to be inserted</dd>
2715 <span class="fixedFont">Node</span> <b>refNode</b>
2718 <dd>The child node the node is being inserted before</dd>
2736 <td class="msource">
2737 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2741 <tr class="method-row expandable config-row-alt1 notInherited">
2742 <td class="micon"><a class="exi" href="#expand"> </a></td>
2745 <a id="Roo.tree.TreePanel-event-*beforeload"></a>
2747 <div class="fixedFont">
2748 <b class="itemname">beforeload</b> (Node <B><i>node</i></B>)
2754 <div class="short">Fires before a node is loaded, return false to cancel
2760 Fires before a node is loaded, return false to cancel
2766 <dl class="detailList">
2767 <dt class="heading">Parameters:</dt>
2770 <span class="fixedFont">Node</span> <b>node</b>
2773 <dd>The node being loaded</dd>
2791 <td class="msource">
2796 <tr class="method-row expandable config-row-alt0">
2797 <td class="micon"><a class="exi" href="#expand"> </a></td>
2800 <a id="Roo.data.Tree-event-*beforemove"></a>
2802 <div class="fixedFont">
2803 <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>)
2809 <div class="short">Fires before a node is moved to a new location in the tree.
2815 Fires before a node is moved to a new location in the tree. Return false to cancel the move.
2821 <dl class="detailList">
2822 <dt class="heading">Parameters:</dt>
2825 <span class="fixedFont">Tree</span> <b>tree</b>
2828 <dd>The owner tree</dd>
2831 <span class="fixedFont">Node</span> <b>node</b>
2834 <dd>The node being moved</dd>
2837 <span class="fixedFont">Node</span> <b>oldParent</b>
2840 <dd>The parent of the node</dd>
2843 <span class="fixedFont">Node</span> <b>newParent</b>
2846 <dd>The new parent the node is moving to</dd>
2849 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
2852 <dd>The index it is being moved to</dd>
2870 <td class="msource">
2871 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2875 <tr class="method-row expandable config-row-alt1 notInherited">
2876 <td class="micon"><a class="exi" href="#expand"> </a></td>
2879 <a id="Roo.tree.TreePanel-event-*beforenodedrop"></a>
2881 <div class="fixedFont">
2882 <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>)
2888 <div class="short">Fires when a DD object is dropped on a node in this tree for preprocessing.
2894 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>
2900 <dl class="detailList">
2901 <dt class="heading">Parameters:</dt>
2904 <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>
2925 <td class="msource">
2930 <tr class="method-row expandable config-row-alt0">
2931 <td class="micon"><a class="exi" href="#expand"> </a></td>
2934 <a id="Roo.data.Tree-event-*beforeremove"></a>
2936 <div class="fixedFont">
2937 <b class="itemname">beforeremove</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>)
2943 <div class="short">Fires before a child is removed from a node in this tree, return false to cancel the remove.
2949 Fires before a child is removed from a node in this tree, return false to cancel the remove.
2955 <dl class="detailList">
2956 <dt class="heading">Parameters:</dt>
2959 <span class="fixedFont">Tree</span> <b>tree</b>
2962 <dd>The owner tree</dd>
2965 <span class="fixedFont">Node</span> <b>parent</b>
2968 <dd>The parent node</dd>
2971 <span class="fixedFont">Node</span> <b>node</b>
2974 <dd>The child node to be removed</dd>
2992 <td class="msource">
2993 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
2997 <tr class="method-row expandable config-row-alt1 notInherited">
2998 <td class="micon"><a class="exi" href="#expand"> </a></td>
3001 <a id="Roo.tree.TreePanel-event-*checkchange"></a>
3003 <div class="fixedFont">
3004 <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>)
3010 <div class="short">Fires when a node with a checkbox's checked property changes
3016 Fires when a node with a checkbox's checked property changes
3022 <dl class="detailList">
3023 <dt class="heading">Parameters:</dt>
3026 <span class="fixedFont">Node</span> <b>this</b>
3032 <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>
3053 <td class="msource">
3058 <tr class="method-row expandable config-row-alt0 notInherited">
3059 <td class="micon"><a class="exi" href="#expand"> </a></td>
3062 <a id="Roo.tree.TreePanel-event-*click"></a>
3064 <div class="fixedFont">
3065 <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>)
3071 <div class="short">Fires when a node is clicked
3077 Fires when a node is clicked
3083 <dl class="detailList">
3084 <dt class="heading">Parameters:</dt>
3087 <span class="fixedFont">Node</span> <b>node</b>
3093 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3096 <dd>The event object</dd>
3114 <td class="msource">
3119 <tr class="method-row expandable config-row-alt1 notInherited">
3120 <td class="micon"><a class="exi" href="#expand"> </a></td>
3123 <a id="Roo.tree.TreePanel-event-*collapse"></a>
3125 <div class="fixedFont">
3126 <b class="itemname">collapse</b> (Node <B><i>node</i></B>)
3132 <div class="short">Fires when a node is collapsed
3138 Fires when a node is collapsed
3144 <dl class="detailList">
3145 <dt class="heading">Parameters:</dt>
3148 <span class="fixedFont">Node</span> <b>node</b>
3169 <td class="msource">
3174 <tr class="method-row expandable config-row-alt0 notInherited">
3175 <td class="micon"><a class="exi" href="#expand"> </a></td>
3178 <a id="Roo.tree.TreePanel-event-*contextmenu"></a>
3180 <div class="fixedFont">
3181 <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>)
3187 <div class="short">Fires when a node is right clicked
3193 Fires when a node is right clicked
3199 <dl class="detailList">
3200 <dt class="heading">Parameters:</dt>
3203 <span class="fixedFont">Node</span> <b>node</b>
3209 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3212 <dd>The event object</dd>
3230 <td class="msource">
3235 <tr class="method-row expandable config-row-alt1 notInherited">
3236 <td class="micon"><a class="exi" href="#expand"> </a></td>
3239 <a id="Roo.tree.TreePanel-event-*dblclick"></a>
3241 <div class="fixedFont">
3242 <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>)
3248 <div class="short">Fires when a node is double clicked
3254 Fires when a node is double clicked
3260 <dl class="detailList">
3261 <dt class="heading">Parameters:</dt>
3264 <span class="fixedFont">Node</span> <b>node</b>
3270 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3273 <dd>The event object</dd>
3291 <td class="msource">
3296 <tr class="method-row expandable config-row-alt0 notInherited">
3297 <td class="micon"><a class="exi" href="#expand"> </a></td>
3300 <a id="Roo.tree.TreePanel-event-*disabledchange"></a>
3302 <div class="fixedFont">
3303 <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>)
3309 <div class="short">Fires when the disabled status of a node changes
3315 Fires when the disabled status of a node changes
3321 <dl class="detailList">
3322 <dt class="heading">Parameters:</dt>
3325 <span class="fixedFont">Node</span> <b>node</b>
3331 <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>
3352 <td class="msource">
3357 <tr class="method-row expandable config-row-alt1 notInherited">
3358 <td class="micon"><a class="exi" href="#expand"> </a></td>
3361 <a id="Roo.tree.TreePanel-event-*dragdrop"></a>
3363 <div class="fixedFont">
3364 <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>)
3370 <div class="short">Fires when a dragged node is dropped on a valid DD target
3376 Fires when a dragged node is dropped on a valid DD target
3382 <dl class="detailList">
3383 <dt class="heading">Parameters:</dt>
3386 <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>
3392 <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>
3398 <span class="fixedFont">DD</span> <b>dd</b>
3401 <dd>The dd it was dropped on</dd>
3404 <span class="fixedFont">event</span> <b>e</b>
3407 <dd>The raw browser event</dd>
3425 <td class="msource">
3430 <tr class="method-row expandable config-row-alt0 notInherited">
3431 <td class="micon"><a class="exi" href="#expand"> </a></td>
3434 <a id="Roo.tree.TreePanel-event-*enddrag"></a>
3436 <div class="fixedFont">
3437 <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>)
3443 <div class="short">Fires when a drag operation is complete
3449 Fires when a drag operation is complete
3455 <dl class="detailList">
3456 <dt class="heading">Parameters:</dt>
3459 <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>
3465 <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>
3471 <span class="fixedFont">event</span> <b>e</b>
3474 <dd>The raw browser event</dd>
3492 <td class="msource">
3497 <tr class="method-row expandable config-row-alt1 notInherited">
3498 <td class="micon"><a class="exi" href="#expand"> </a></td>
3501 <a id="Roo.tree.TreePanel-event-*expand"></a>
3503 <div class="fixedFont">
3504 <b class="itemname">expand</b> (Node <B><i>node</i></B>)
3510 <div class="short">Fires when a node is expanded
3516 Fires when a node is expanded
3522 <dl class="detailList">
3523 <dt class="heading">Parameters:</dt>
3526 <span class="fixedFont">Node</span> <b>node</b>
3547 <td class="msource">
3552 <tr class="method-row expandable config-row-alt0">
3553 <td class="micon"><a class="exi" href="#expand"> </a></td>
3556 <a id="Roo.data.Tree-event-*insert"></a>
3558 <div class="fixedFont">
3559 <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>)
3565 <div class="short">Fires when a new child node is inserted in a node in this tree.
3571 Fires when a new child node is inserted in a node in this tree.
3577 <dl class="detailList">
3578 <dt class="heading">Parameters:</dt>
3581 <span class="fixedFont">Tree</span> <b>tree</b>
3584 <dd>The owner tree</dd>
3587 <span class="fixedFont">Node</span> <b>parent</b>
3590 <dd>The parent node</dd>
3593 <span class="fixedFont">Node</span> <b>node</b>
3596 <dd>The child node inserted</dd>
3599 <span class="fixedFont">Node</span> <b>refNode</b>
3602 <dd>The child node the node was inserted before</dd>
3620 <td class="msource">
3621 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
3625 <tr class="method-row expandable config-row-alt1 notInherited">
3626 <td class="micon"><a class="exi" href="#expand"> </a></td>
3629 <a id="Roo.tree.TreePanel-event-*load"></a>
3631 <div class="fixedFont">
3632 <b class="itemname">load</b> (Node <B><i>node</i></B>)
3638 <div class="short">Fires when a node is loaded
3644 Fires when a node is loaded
3650 <dl class="detailList">
3651 <dt class="heading">Parameters:</dt>
3654 <span class="fixedFont">Node</span> <b>node</b>
3657 <dd>The node that was loaded</dd>
3675 <td class="msource">
3680 <tr class="method-row expandable config-row-alt0">
3681 <td class="micon"><a class="exi" href="#expand"> </a></td>
3684 <a id="Roo.data.Tree-event-*move"></a>
3686 <div class="fixedFont">
3687 <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>)
3693 <div class="short">Fires when a node is moved to a new location in the tree
3699 Fires when a node is moved to a new location in the tree
3705 <dl class="detailList">
3706 <dt class="heading">Parameters:</dt>
3709 <span class="fixedFont">Tree</span> <b>tree</b>
3712 <dd>The owner tree</dd>
3715 <span class="fixedFont">Node</span> <b>node</b>
3718 <dd>The node moved</dd>
3721 <span class="fixedFont">Node</span> <b>oldParent</b>
3724 <dd>The old parent of this node</dd>
3727 <span class="fixedFont">Node</span> <b>newParent</b>
3730 <dd>The new parent of this node</dd>
3733 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
3736 <dd>The index it was moved to</dd>
3754 <td class="msource">
3755 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
3759 <tr class="method-row expandable config-row-alt1 notInherited">
3760 <td class="micon"><a class="exi" href="#expand"> </a></td>
3763 <a id="Roo.tree.TreePanel-event-*nodedragover"></a>
3765 <div class="fixedFont">
3766 <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>)
3772 <div class="short">Fires when a tree node is being targeted for a drag drop, return false to signal drop not allowed.
3778 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>
3784 <dl class="detailList">
3785 <dt class="heading">Parameters:</dt>
3788 <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>
3809 <td class="msource">
3814 <tr class="method-row expandable config-row-alt0 notInherited">
3815 <td class="micon"><a class="exi" href="#expand"> </a></td>
3818 <a id="Roo.tree.TreePanel-event-*nodedrop"></a>
3820 <div class="fixedFont">
3821 <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>)
3827 <div class="short">Fires after a DD object is dropped on a node in this tree.
3833 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>
3839 <dl class="detailList">
3840 <dt class="heading">Parameters:</dt>
3843 <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>
3864 <td class="msource">
3869 <tr class="method-row expandable config-row-alt1">
3870 <td class="micon"><a class="exi" href="#expand"> </a></td>
3873 <a id="Roo.data.Tree-event-*remove"></a>
3875 <div class="fixedFont">
3876 <b class="itemname">remove</b> (Tree <B><i>tree</i></B>, Node <B><i>parent</i></B>, Node <B><i>node</i></B>)
3882 <div class="short">Fires when a child node is removed from a node in this tree.
3888 Fires when a child node is removed from a node in this tree.
3894 <dl class="detailList">
3895 <dt class="heading">Parameters:</dt>
3898 <span class="fixedFont">Tree</span> <b>tree</b>
3901 <dd>The owner tree</dd>
3904 <span class="fixedFont">Node</span> <b>parent</b>
3907 <dd>The parent node</dd>
3910 <span class="fixedFont">Node</span> <b>node</b>
3913 <dd>The child node removed</dd>
3931 <td class="msource">
3932 <a href="./Roo.data.Tree.html#constructor" roo:cls="Roo.data.Tree.html#constructor">Roo.data.Tree</a>
3936 <tr class="method-row expandable config-row-alt0 notInherited">
3937 <td class="micon"><a class="exi" href="#expand"> </a></td>
3940 <a id="Roo.tree.TreePanel-event-*startdrag"></a>
3942 <div class="fixedFont">
3943 <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>)
3949 <div class="short">Fires when a node starts being dragged
3955 Fires when a node starts being dragged
3961 <dl class="detailList">
3962 <dt class="heading">Parameters:</dt>
3965 <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>
3971 <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>
3977 <span class="fixedFont">event</span> <b>e</b>
3980 <dd>The raw browser event</dd>
3998 <td class="msource">
4003 <tr class="method-row expandable config-row-alt1 notInherited">
4004 <td class="micon"><a class="exi" href="#expand"> </a></td>
4007 <a id="Roo.tree.TreePanel-event-*textchange"></a>
4009 <div class="fixedFont">
4010 <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>)
4016 <div class="short">Fires when the text for a node is changed
4022 Fires when the text for a node is changed
4028 <dl class="detailList">
4029 <dt class="heading">Parameters:</dt>
4032 <span class="fixedFont">Node</span> <b>node</b>
4038 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
4041 <dd>The new text</dd>
4044 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldText</b>
4047 <dd>The old text</dd>
4065 <td class="msource">
4077 <!-- ============================== footer ================================= -->
4078 <div class="fineprint" style="clear:both">
4080 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Mon Mar 31 2014 14:45:14 GMT+0800 (HKT)
4082 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>