Tag Archive for 'expanditem()'

05
Apr

Opening branches by clicking rows in a Tree control in Flex

The following example shows how you can expand/collapse branches in a Flex Tree control by clicking on the row instead of having to click on the disclosure/arrow icon.

Full code after the jump.

Continue reading ‘Opening branches by clicking rows in a Tree control in Flex’

02
Dec

Expanding and collapsing Flex Tree nodes using the expandItem() and expandChildrenOf() methods

The following example shows you how you can expand and contract individual Tree nodes, or nodes and all child-nodes recursively using the expandItem() and expandChildrenOf() methods in Flex.

Full code after the jump

Continue reading ‘Expanding and collapsing Flex Tree nodes using the expandItem() and expandChildrenOf() methods’

29
Nov

Opening nodes in a Flex Tree control using the expandItem() method

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’

29
Nov

Using the itemDoubleClick event to open nodes in a Flex Tree control

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’