The following example shows how you can use the isBranch() method to determine if a specific node in a Tree control is a branch (folder) or leaf (item).
Full code after the jump.
{ 7 comments }
Just a bunch of Adobe Flex Examples
From the monthly archives:
The following example shows how you can use the isBranch() method to determine if a specific node in a Tree control is a branch (folder) or leaf (item).
Full code after the jump.
{ 7 comments }
The following example shows you how you can reorder nodes in a Flex Tree control by setting the dragEnabled, dropEnabled, and dragMoveEnabled properties.
Full code after the jump.
{ 0 comments }
The following example shows you how you can create a Tree control in Flex with variable row heights by setting the variableRowHeight and wordWrap properties.
Full code after the jump.
{ 0 comments }
The following example shows you how you can toggle the root node in a Flex Tree control’s data provider by setting the showRoot property.
Full code after the jump.
{ 2 comments }
The following example shows you how you can override a specific node’s icon in a Flex Tree control ysing the Tree class’s setItemIcon() method.
Full code after the jump.
{ 11 comments }
The following example shows you how you can listen for when the user opens or closes a node in a Flex Tree control by listening for the itemOpen and itemClose events to be dispatched.
Full code after the jump.
{ 0 comments }