Announcement

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

    TreeGrid + Datasource + nested XML

    Hi everyone,

    I'm using the free SmartGWT release, trying to fill a treeGrid using datasources.
    I have the following XML

    Code:
     
    <response>
       <errors/>
       <data>
          <project>
             <id>1</id>
             <name>Bee Project</name>
             <sprints>
                <sprint>
                   <id>2</id>
                   <name>sprint2</name>
                </sprint>
             </sprints>
          </project>
          <project>
             <id>3</id>
             <name>Checho Project</name>
             <sprints>
                <sprint>
                   <id>4</id>
                   <name>Backlog</name>
                </sprint>
             </sprints>
          </project>
       </data>
    </response>
    Is possible to consume that XML with Datasources ?
    I don't know how to tell TreeGrid that my top level element "project" has "sprints" as childs.

    Could anyone helpme?

    Thanks!

    #2
    http://forums.smartclient.com/showthread.php?p=73310#post73310

    Comment

    Working...
    X