Thanks again. I'll let you know how it goes...

christine
--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> 
wrote:
>
> Here is an example that is pretty easy to understand.  You can 
ignore
> the line drawing stuff for your purposes.
> 
> http://www.cflex.net/showfiledetails.cfm?
ChannelID=1&Object=File&objectI
> D=575
> 
>  
> 
> I suggest you rename this to what you want yours to be called and 
then
> get it working with your tree.  Then, begin modifying it to 
display what
> you want.
> 
> Tracy
> 
>  
> 
> ________________________________
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of tinkiknit
> Sent: Friday, February 09, 2007 1:25 PM
> To: [email protected]
> Subject: [flexcoders] Custom TreeItemRenderer??
> 
>  
> 
> Hi again Flexperts...
> 
> I'm still working on my tree of query terms...I'm perplexed about 
> customizing the TreeItemRenderer so that my "nodes" (these are 
> actually my custom component which is used to create query terms) 
> show up instead of the default file icon and label.
> 
> Example in plain text:
> 
> AND
> |
> +
> 
> OR
> |
> +
> 
> NOT
> |
> +
> the + represents my custom component as it's a linkButton that 
when 
> clicked brings up a fancy query builder to add a term for that 
> operation...so far I have in XML representing my tree:
> 
> <mx:XML id="Terms">
> <root>
> <Operation label="AND">
> <children label=" " >
> </Operation>
> <Operation label="OR">
> <children label=" " >
> </Operation>
> <Operation label="NOT">
> <children label=" " >
> </Operation>
> </root>
> </mx:XML>
> 
> I want my children to show up as the custom component that is 
fully 
> functional and think that TreeItemRenderer is the place I need to 
put 
> code to do this. Any examples out there for using a custom 
component 
> for nodes?
> 
> Thanks in advance!
> 
> Christine
>


Reply via email to