actually you can define a function to "labelFunction".

Check
http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/


raf

--- In flexcoders@yahoogroups.com, "xmwang1982" <[EMAIL PROTECTED]> wrote:
>
> Hi experts,
> 
> Can we determine the "isBranch" property of a tree node in a function? 
> I need to set this property according to XML node name. It would be 
> nice if we can define a function like "labelFunction". However it seems 
> not existing. 
> 
> I don't want to translate my XML to new XML <node lable=... 
> isBranch=......>   How to set the property in runtime? Thanks.
>


Reply via email to