1 Reply Latest reply on Feb 7, 2007 7:16 AM by michael_ramirez44

    Building a Tree

    sneufchuck
      Hi

      I have a java function who retern a Treemap and i dnt know how i can build a dynamic Tree

      Is it possible to do it without format the treemap to a XML file?

      Thanks.
        • 1. Re: Building a Tree
          michael_ramirez44 Level 1
          You can bind an ArrayCollection of Objects to your Tree control. Use labelField to determine what property is displayed on the root nodes. The Tree control by default looks for a property within your object called 'children' to display leaf node data. If this doesn't approach doesn't map to your particular objects you can create your own custom Data Descriptor.