RE: [flexcoders] Flex 2 Tree Behaviour override

2006-03-20 Thread Jason Hawryluk
if you just want to concat the label then replace text=[EMAIL PROTECTED]with the 2 attributes example in your cellrenderer ?xml version="1.0" encoding="utf-8"?mx:HBox xmlns:mx="http://www.macromedia.com/2005/mxml" implements="mx.controls.listclasses.IDropInListItemRenderer"xmlns="*"

RE: [flexcoders] Flex 2 Tree Behaviour override

2006-03-20 Thread Joan Tan
If you are still using just text for each node in your tree, then, you dont need to do a custom itemRenderer. Instead, you can just use a labelFunction. So, on your Tree tag, just add something like labelFunction=returnLabel. Then, you will have a returnLabel function that looks

RE: [flexcoders] Flex 2 Tree Behaviour override

2006-03-20 Thread Jason Hawryluk
: lundi 20 mars 2006 18:17: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Flex 2 Tree Behaviour override If you are still using just text for each node in your tree, then, you dont need to do a custom itemRenderer. Instead, you can just use a labelFunction. So, on your Tree