textRollOverColor

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of lhy90936
Sent: Thursday, August 30, 2007 9:20 AM
To: [email protected]
Subject: [flexcoders] Changing text color of item renderer in datagrid

 

Hi,

I have the following datagrid:
<mx:DataGridColumn field="name" ......... />
<mx:DataGridColumn itemRenderer="myRenderer" ...... />

In myRenderer, I extend from the TextInput class; with the text 
color:WHITE

My question is:
When I do a mouse rollover/selection on any row of the datagrid, how 
can I change the text color of my renderer?
If I add the rollover/selection event listener for my renderer, it 
will only change the color when my mouse is over its column.
However, I want it to change colour whenever the datagrid row is 
selected/ rollover.

Thank you very much.

Regards,
hy

 

Reply via email to