flex4 - AS3 / Flex 4, hide nodes in Tree, while keeping children visible -


i'm displaying data xml file (simplified below) mx:tree class in flex. don't want array node show up, distracts what's important. need retain later when copy tree. can hide array nodes while keeping children of array nodes visible? thanks.

<property name="responses">     <array>         <object type="type 1">             <property name="text" value="some text"/>             <property name="next" value="3"/>         </object>         <object type="type 2">             <property name="text" value="some text"/>             <property name="next" value="3"/>         </object>     </array> </property> 

create custom tree data descriptor.

http://help.adobe.com/en_us/flashplatform/reference/actionscript/3/mx/controls/treeclasses/itreedatadescriptor.html


Comments

Popular posts from this blog

c# - IMAP GMAIL getting folder list problem -

PHP proxy to get XML: problem with URL arguments -