Tag Archive for 'haschildren()'

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’

03
Dec

Using an Array as a data provider in a Flex Tree control

The following code shows you how you can use an Array as a data provider for a Tree control in Flex.

Full code after the jump.

Continue reading ‘Using an Array as a data provider in a Flex Tree control’