Results 1 to 2 of 2

Thread: How can i populate the xml into the treepanel,

  1. #1

    Default How can i populate the xml into the treepanel,

    I am new to extjs, I am fighting with treepanel since two days, I want to populate the below xml to treepanel, please give me the solutions,
    My XML is :

    <people>
    <client>
    <id>12</id>
    <name>xtended</name>
    <program>
    <status>pending</status>
    <task>dadadadasdsa</task>
    </program>
    </client>
    <client>
    <id>10</id>
    <name>asdasdxtended</name>
    <program>
    <status>pending</status>
    <task>dadadadasdsa</task>
    </program>
    </client>
    </people>




    Please help me to solve this issue,

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    There doesn't look to be a hierarchy in your data, seems flat as you would need the same node to display text. Like the program node would need a name node to display something within the program node.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •