Custom ITreeDataDescriptor
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of djdyland
Sent: Monday, October 29, 2007 8:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree: Removing expand triangle from select nodes
Hello,
I'm building a scripting reference app that is populated from an XML
file. The structure is something like this.
groupOfAssociatedClasses name=name of container
class name=className
property name=propertyName
typetheType/type
/property
method name=methodName
inputTypetype/inputType
returnValuevalue/returnValue
/method
/class
class name=className
property name=propertyName
typetheType/type
/property
method name=methodName
inputTypetype/inputType
returnValuevalue/returnValue
/method
/class
/groupOfAssociatedClasses
groupOfAssociatedClasses name=name of container
class name=className
property name=propertyName
typetheType/type
/property
method name=methodName
inputTypetype/inputType
returnValuevalue/returnValue
/method
/class
/groupOfAssociatedClasses
I created a tree discriptor to filter out all the children on each
class so it doesn't display them in the tree. All I want to see in
the tree is the names of the containers and the names of the classes.
My proplem is that beucase the classes have children flex is
displaying the expand node triangle beside the icon which ends up
doing nothing becuase of the filter. How can I get rid of the expand
node triangle?
I tried to turn it off but it ended up turning it off for the parent
container nodes as well.
Any Help is much appreciated :)