Thanks Alex! its working now :)

--- Alex Harui <[EMAIL PROTECTED]> wrote:

> Mx:Component can only have one top level node.  You
> can make the
> toplevel node an HBox and stick two Labels in that,
> or you can check out
> the examples on my blog
> http://blogs.adobe.com/aharui/item_renderers/
> 
>  
> 
> ________________________________
> 
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Ary
> Sent: Friday, May 25, 2007 12:16 PM
> To: [email protected]
> Subject: [flexcoders] Multiple component inside
> itemRenderer [Datagrid]
> 
>  
> 
> Hi,
> 
> is it possible to do this?
> this is my code...and i get "Parse error at
> '<mx:Label>'"
> i guess im doing it wrong...any hint?thanks in
> advance!
> 
>
---------------------------------------------------------
> <mx:columns>
> <mx:DataGridColumn width="150"
> headerText="header01" dataField="mydata1" />
> <mx:DataGridColumn width="350"
> dataField="mydata2 and mydata3" > 
> <mx:itemRenderer>
> <mx:Component>
> <mx:Label selectable="false"
> width="100%" text="{data.mydata2}" />
> <mx:Label selectable="false"
> width="100%" text="{data.mydata3}" />
> </mx:Component>
> </mx:itemRenderer> 
> </mx:DataGridColumn>
> </mx:columns>
> 
>
---------------------------------------------------------
> 
>
__________________________________________________________
> Need Mail bonding?
> Go to the Yahoo! Mail Q&A for great tips from Yahoo!
> Answers users.
>
http://answers.yahoo.com/dir/?link=list&sid=396546091
>
<http://answers.yahoo.com/dir/?link=list&sid=396546091>
> 
> 
>  
> 
> 



       
____________________________________________________________________________________Yahoo!
 oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

Reply via email to