Properties Methods Events Config Options Direct Link
Observable
  Node
    TreeNode

Class Ext.tree.TreeNode

Package:Ext.tree
Defined In:TreeNode.js
Class:TreeNode
Subclasses:AsyncTreeNode
Extends:Node

Config Options

Config OptionsDefined By
 allowChildren : Boolean
False to not allow this node to have child nodes (defaults to true)
TreeNode
 allowDrag : Boolean
False 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
 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
False to not allow this node to be edited by an (@link Ext.tree.TreeEditor} (defaults to true)
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
 iconCls : String
A css class to be added to the nodes icon element for applying css background images
TreeNode
 id : String
The id for this node. If one is not specified, one is generated.
Node
 isTarget : Boolean
False to not allow this node to act as a drop target (defaults to true)
TreeNode
 leaf : Boolean
true if this node is a leaf and does not have children
Node
 qtip : String
An Ext QuickTip for the node
TreeNode
 qtipCfg : String
An Ext QuickTip config for the node (used instead of qtip)
TreeNode
 singleClickExpand : Boolean
True for single click expand on this node
TreeNode
 text : String
The text for this node
TreeNode
 uiProvider : Function
A UI class to use for this node (defaults to Ext.tree.TreeNodeUI)
TreeNode

Public Properties

PropertyDefined By
 attributes : Object
The attributes supplied for the node. You can use this property to access any custom attributes you supplied.
Node
 childNodes : Array
All child nodes of this node.
Node
 disabled : Boolean
True if this node is disabled.
TreeNode
 firstChild : Node
The first direct child node of this node, or null if this node has no child nodes.
Node
 hidden : Boolean
True if this node is hidden.
TreeNode
 id : String
The node id.
Node
 lastChild : Node
The last direct child node of this node, or null if this node has no child nodes.
Node
 nextSibling : Node
The node immediately following this node in the tree, or null if there is no sibling node.
Node
 parentNode : Node
The parent node for this node.
Node
 previousSibling : Node
The node immediately preceding this node in the tree, or null if there is no sibling node.
Node
 text : String
Read-only. The text for this node. To change it use setText.
TreeNode
 ui : TreeNodeUI
Read-only. The UI for this node
TreeNode

Public Methods

MethodDefined By

Public Events

EventDefined By