Tag Archive for 'getchildren()'

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’

11
Jan

Displaying the number of children in each branch of a Flex Tree control

The following example shows how you can display the number of children in each branch of a Tree control in Flex by using the dataDescriptor property, labelFunction property, hasChildren() method and getChildren() method.

Full code after the jump.

Continue reading ‘Displaying the number of children in each branch of a Flex Tree control’

13
Sep

Changing text alignment in an Flex Accordion header

The following example shows how you can use the textAlign style to control the text alignment of a label in an Accordion header.

Full code after the jump.

Continue reading ‘Changing text alignment in an Flex Accordion header’