It's probably a bug if isBranch is ignored in some cases and not others. 

Also, there's no need to use a custom renderer in this case.  The
IDataDescriptor interface allows custom implementations of the
isBranch and getChildren behavior.  This allows for complicated
relationships between parents and children, and custom determination
of whether a node should be a branch or not. 

Cheers,

-Michael
  

--- In [email protected], "Brendan Meutzner" <[EMAIL PROTECTED]>
wrote:
>
> Hi,
> 
> Does anyone have a solution short of a rowrenderer to disable the
> expand feature on a tree branch?  
> 
> Setting isBranch to false doesn't work if the node has children, as it
> automatically displays as a branch with the folder icon and expand
> capabilities.  I've tried this in both Flex 1.5 and 2.0 alpha with no
> success.  Any ideas?
> 
> Also, if it comes down to a rowrenderer type solution, I have a
> solution for that using Flex 1.5, but would someone be able to give me
> some insight into how it would be done in Flex 2.0?
> 
> Thanks,
> 
> Brendan
>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to