PDA

View Full Version : Loop into an existing treepanel



springrider
May 14, 2012, 3:25 AM
Good morning

I have created a treepanel based on an XML. After having reorder the nodes , i would like to loop through my updated treepanel to generate a new XML.

What i need, is just the correct syntax to loop into the structure of an existing treepanel.
Where i stand is

Dim rootNodes As Ext.Net.NodeCollection = TreePanel2.Root and then i don't know which object to use...

If someone could give me a simple example, it would be great.

I was able to find only examples when you create a new treepanel, not when it is already existing.

Thanks for your replies

Sylvain

springrider
May 17, 2012, 4:46 AM
Seems that i am not the only one: http://forums.ext.net/showthread.php?18567-Loop-Through-Treepanel-and-get-Nodes-and-Subnodes-AFTER-DRAGDROP

I can not even reproduce this code since i am working with the v2 version...

If someone could help me in looping into an existing treepanel in v2 or point me to the correct direction, i would be really grateful...

Thanks
S.