Hmm - that seems to work for me. What build of Flex are you using? Can you email me a bugfile offline?
Thanks - deepa -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Crowe Sent: Wednesday, November 01, 2006 12:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Changing color in datagrid URL That's what I tried first. The color is still black. --- In flexcoders@yahoogroups.com, "Deepa Subramaniam" <[EMAIL PROTECTED]> wrote: > > You can set styles on the LinkButton to control its appearance. So in > your case, you would add a color (and perhaps an underline) style to the > mx:LinkButton tag. > > > > <mx:LinkButton label="{data.strUserEmail}" color="#0000ff" > click="navigateToURL(new URLRequest('mailto:'+data.strUserEmail), > data.strUserEmail)"/> > > > > -deepa > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Mike Crowe > Sent: Wednesday, November 01, 2006 10:38 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Changing color in datagrid URL > > > > Hi folks, > > I'm trying to put a clickable URL in a datagrid. So far, here is > what I have for my column: > > <mx:DataGridColumn color="#0000ff" headerText="Email" > dataField="strUserEmail"> > <mx:itemRenderer> > <mx:Component> > <mx:LinkButton label="{data.strUserEmail}" > click="navigateToURL(new URLRequest('mailto:'+data.strUserEmail), > data.strUserEmail)"/> > > </mx:Component> > </mx:itemRenderer> > </mx:DataGridColumn> > > I want to make the email address blue (#0000ff). However, nothing I > do seems to change this. Whether I put in DataGridColumn or > LinkButton, neither works. > > What am I missing? > > TIA > Mike > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/