|
| allowChildren : Boolean False to not allow this node to have child nodes (defaults to true) | TreeNode |
| allowDrag : BooleanFalse to make this node undraggable if draggable = true (defaults to true) | TreeNode |
| allowDrop : Boolean False if this node cannot have child nodes dropped on it (defaults to true) | TreeNode |
| checked : BooleanTrue to render a checked checkbox for this node, false to render an unchecked checkbox
(defaults to undefined with no... True to render a checked checkbox for this node, false to render an unchecked checkbox
(defaults to undefined with no checkbox rendered) | TreeNode |
| cls : String A css class to be added to the node | TreeNode |
| disabled : Boolean true to start the node disabled | TreeNode |
| draggable : Boolean True to make this node draggable (defaults to false) | TreeNode |
| editable : Boolean | TreeNode |
| expandable : Boolean If set to true, the node will always show a plus/minus icon, even when empty | TreeNode |
| expanded : Boolean true to start the node expanded | TreeNode |
| hidden : Boolean True to render hidden. (Defaults to false). | TreeNode |
| href : String URL of the link used for the node (defaults to #) | TreeNode |
| hrefTarget : String target frame for the link | TreeNode |
| icon : StringThe path to an icon for the node. The preferred way to do this
is to use the cls or iconCls attributes and add the ic... The path to an icon for the node. The preferred way to do this
@@ -258,11 +260,21 @@ event... | Observable |
| select()
:
- voidTriggers selection of this node Triggers selection of this node | TreeNode |
| setId( String id )
+ voidTriggers selection of this node Triggers selection of this node | TreeNode |
| setCls( String cls )
+ :
+ voidSets the class on this node. Sets the class on this node. | TreeNode |
| setHref( String href , String (Optional) )
+ :
+ voidSets the href for the node. Sets the href for the node. | TreeNode |
| setIcon( String icon )
+ :
+ voidSets the icon for this node. Sets the icon for this node. | TreeNode |
| setIconCls( String cls )
+ :
+ voidSets the icon class for this node. Sets the icon class for this node. | TreeNode |
| setId( String id )
:
voidChanges the id of this node. Changes the id of this node. Parameters:id : StringThe new id for the node. Returns: | Node |
| setText( String text )
:
- voidSets the text for this node Sets the text for this node | TreeNode |
| sort( Function fn , [Object scope ] )
+ voidSets the text for this node Sets the text for this node | TreeNode |
| setTooltip( String tip , [String title ] )
+ :
+ voidSets the tooltip for this node. Sets the tooltip for this node. | TreeNode |
| sort( Function fn , [Object scope ] )
:
voidSorts this nodes children using the supplied sort function. Sorts this nodes children using the supplied sort function. Parameters:fn : FunctionA function which, when passed two Nodes, returns -1, 0 or 1 depending upon required sort order. scope : Object(optional)The scope (this reference) in which the function is executed. Defaults to the browser window. Returns: | Node |
| suspendEvents( Boolean queueSuspended )
:
|