Hi, I've tried the textRollOverColor but that did not work. My itemrenderer still doesn't change colors when rollover.
Regards, hy --- In [email protected], "lhy90936" <[EMAIL PROTECTED]> wrote: > > Hi Alex, > > Thank you. > > What about the selection: textSelectedColor? > > When I checked the Reference for TextInput class, I could not find > anything about this textRollOverColor, or selection color.... > Can I know where can we find all this info? > > Thank you > > hy > > --- In [email protected], "Alex Harui" <aharui@> wrote: > > > > 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 > > >

