You could setup a hyperlink by creating a custom cellrenderer, but the easier way would be to listen for the change event. That will give you the rowIndex and columnIndex so you can get the data for the cell pressed and execute the navigateToURL (or whatever other code) based on that data.
On 5/31/07, Ekta Aggarwal <[EMAIL PROTECTED]> wrote:
Hi, I am displaying some data in a datagrid where dataprovider is a XML file. Now, I have a requirement where I need to provide a hyperlink on each data cell of the datagrid, so that clicking on the item can take me to some other page. e.g. ---------------------------------------------------------- column1 column2 --------------------------------------------------------- Fail Pass Fail Pass ---------------------------------------------------------- Clicking on fail/pass should display the log results. Any idea, how to provide the hyperlink? Regards, Ekta Ekta Gupta www.geocities.com/aggarwalekta ------------------------------ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket:<http://us.rd.yahoo.com/evt=48253/*http://mobile.yahoo.com/go?refer=1GNXIC>mail, news, photos more.
-- Derek Vadneau

