The renderers stylename is assigned to the DGColumn.  Set your styles
there if you can.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of candysmate
Sent: Thursday, September 20, 2007 5:23 AM
To: [email protected]
Subject: [flexcoders] Setting style for inline itemrenderer?

 

My datagrids have a style set for them. My inline itemrenderer for one
of the columns requires a different style. I have tried:

<mx:DataGridColumn
width="30"
editable="false"
headerText=""
dataField="problem"
textAlign="center" > <mx:itemRenderer> 
<mx:Component>
<mx:Text styleName="myStyle">
</mx:Text>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn> 

without success. Any pointers most welcomed.

 

Reply via email to