-----Original Message-----
From: [email protected] on behalf of djdyland
Sent: Mon 29/10/2007 19:43
To: [email protected]
Subject: [flexcoders] Re: Tree: Removing expand triangle from select nodes
 
So I guess to simplify my question... how do I apply

myTree.setStyle("disclosureOpenIcon", null);
myTree.setStyle("disclosureCloseIcon", null);

to individual nodes instead if the whole tree?

-------------------------

I think that may be exactly what you need to do :
Recurse through the tree and set each individual node icon according to it's 
number of children.
At least thats what I used to do in the old flash component tree:
If there's a smarter way to do it in Flex then someone please do let us know -
Something fairly similar is rising towards the top of my todo list ...

______________________________________________________________________
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
______________________________________________________________________

<<winmail.dat>>

Reply via email to