Not yet rated

Problem

Unfortunately Flex 4 does not have Spark Tree and MX Tree has 99 bugs at this moment.

Solution

Use Spark List-based component provided here.

Detailed explanation

In our project we were in need of Spark-based Tree for some time so inspired by Alex Harui I wrote it:
View Source, download component source

Creating tree item renderers

Tree item renderers should extend TreeItemRenderer. Here is the default item renderer.


+
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

Report abuse

Related recipes