Home arrow XML arrow Page 3 - The Flex Tree Control

From Leafs to Branches - XML

The Flex Tree control is amazingly useful when building applications, especially if you're dealing with hierarchical data. To learn how to add the power of this intuitive organizational component to your developer's toolbox, keep reading.

TABLE OF CONTENTS:
  1. The Flex Tree Control
  2. Updating the Code for the Tree Control
  3. From Leafs to Branches
  4. Part 2: A Tree with an Array Data Provider
  5. The treeData Variable declaration and Calling the init function
By: Keith Lee
Rating: starstarstarstarstar / 9
August 06, 2009

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Now we're making progress. We have effectively populated our Tree with leaf nodes. It is good, but not complete. Next, we will need to turn our leaf nodes into branches and give our new branches additional leaf nodes. We do this by adding child nodes to our XML groups. The Tree will automatically recognize that the top level nodes have children and change their icons to folders. Here is the updated XMLList:

Here is the Tree with branches and leaf nodes:

Now we have a successful Tree with leaf nodes.



 
 
>>> More XML Articles          >>> More By Keith Lee
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

XML ARTICLES

- Google Docs and Xpath Data Functions
- Flex Array Collection Sort and Filtering
- The Flex Tree Control
- Flex List Controls
- Working with Flex and Datagrids
- How to Set Up Podcasting and Vodcasting
- Creating an RSS Reader Application
- Building an RSS File
- An Introduction to XUL Part 6
- An Introduction to XUL Part 5
- An Introduction to XUL Part 4
- An Introduction to XUL Part 3
- An Introduction to XUL Part 2
- An Introduction to XUL Part 1
- XML Matters: Practical XML Data Design and M...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: