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:flexcoders@yahoogroups.com] 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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to