There are several ways to do this.  One way is to create an itemRenderer
using htmlText. htmlText can include an <a href="" /> tag.  You can have
the click dispatch a bubbling TextEvent, and in the handler, access the
dataProvider item via the event.currentTarget property, and use the url
to build your mailto url, and navigateToURL to laouch the browser.

 

There will be examples of all of this if you look a bit.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Adrian Williams
Sent: Monday, July 07, 2008 1:04 PM
To: [email protected]
Subject: [flexcoders] Creating a hyperlink mailto in advanced data grid

 

Hi All,

    I am using an advanced data grid to display a variety of data, one
of which is a users email address.  I'd like to be able to set it up so
that for any given row in the report, the email addresses are actually
hyperlinks to open a mailto: that address.  How do I do this?

Thanks,
Adrian

 

Reply via email to