Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to create a tree example (broken link)

    There is a broken link the API docs that promises an example for using modelType. To see this, go to Tree/getModelType and click on 'data'.

    I need a complete example for creating a hierarchical tree view without using ids. I've been reading the docs, but am still unsure how to create a tree grid without using interconnecting ids. I have an xml file and want to use the logical structure.
    Code:
    <foos>
       <foo1>
          <bab>
          <bar>      
       </foo1>
       <foo2>
           <baf>
           <baz>
       </foo2>
    </foos>
    
    shows:
    
    [-] foo1
           o bab
           o bar
    [-] foo2
           o baf
           o baz
    Is there one place that explains how to do this?

    Thanks in advance!
    =Dave
    Last edited by ddumaresq; 4 Mar 2009, 10:39.
Working...
X