Archive for November 27th, 2007

27
Nov

Controlling a Tree control’s item indentation in Flex

The following example shows how you can control the amount of indentation for a child node in a Flex Tree control.

Full code after the jump.

Continue reading ‘Controlling a Tree control’s item indentation in Flex’

27
Nov

Alternating row colors in a Flex Tree control using the depthColors style

In a previous example, “Alternating row colors in a Flex Tree control using the alternatingItemColors style”, we saw how you can alternate row colors by setting the alternatingItemColors style.
The following example shows how you can alternate item colors based on the item’s depth in a Flex Tree control by setting the depthColors style to an array of colors.

Full code after the jump.

Continue reading ‘Alternating row colors in a Flex Tree control using the depthColors style’

27
Nov

Alternating row colors in a Flex Tree control using the alternatingItemColors style

The following example shows how you can alternate item colors in a Flex Tree control by setting the alternatingItemColors style to an array of colors.

Full code after the jump.

Continue reading ‘Alternating row colors in a Flex Tree control using the alternatingItemColors style’

27
Nov

Changing the open duration and easing function on a Flex Tree control

The following example shows how you can change the open duration and open easing function on a Tree control in Flex by setting the openDuration and openEasingFunction styles.

Full code after the jump.

Continue reading ‘Changing the open duration and easing function on a Flex Tree control’