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.
Continue reading ‘Dragging and dropping items in a Flex Tree control’
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.
Continue reading ‘Creating a Flex Tree control with variable row heights’
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.
Continue reading ‘Toggling a Tree control’s root node in Flex’
The following example shows you how you can expand tree nodes (recursively, no less) by selecting an item from a ComboBox control.
Full code after the jump.
Continue reading ‘Opening nodes in a Flex Tree control using the expandItem() method’
The following example shows how you can use the itemDoubleClick event to open the selected Tree node in Flex.
Full code after the jump.
Continue reading ‘Using the itemDoubleClick event to open nodes in a Flex Tree control’
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.
Continue reading ‘Setting icons for specific nodes in a Flex Tree control’