You can probably find a way to squeeze some htmlText in there.
Using a debugger breakpoint and then examining the DataGrid run-time
component and subsidiary bits might show you where to do that.



--- In flexcoders@yahoogroups.com, "Joan Lafferty" <[EMAIL PROTECTED]> wrote:
>
> It's fairly simple if one of the words is a static word and the other
> comes from your dataProvider. You could use a headerRenderer on a
> DataGridColumn like this:
> 
>  
> 
> <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml";>
> 
>    <mx:Text text="column:" color="#ff0000" />
> 
>    <mx:Text text="{data.headerText}" color="#0000dd" />
> 
> </mx:HBox>
> 
>  
> 
> If both words that you want to color come from your dataProvider, I
> don't know how you would do it.
> 
>  
> 
> Joan
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Wednesday, March 26, 2008 6:43 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Column header - two colors for text
> 
>  
> 
> Is it possible to have a header text that consists of two words in 
> different colors?
> 
> Thanks
>


Reply via email to