PDA

View Full Version : How can i populate the xml into the treepanel,



rajindarreddy
24 Sep 2012, 1:59 AM
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,
:)

mitchellsimoens
26 Sep 2012, 7:17 AM
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.