secret007
03-18-2009, 01:13 PM
I have a datagrid with three columns,
i have currently set event listener to whole datagrid like so,
this.dg.addEventListener(ListEvent.ITEM_CLICK, gotoURL);
function gotoURL(e:ListEvent):void
{
var req:URLRequest = new URLRequest("url");
navigateToURL(req, "_blank");
}
in this way when a user clicks anywhere in the datagrid it will be redirected to that url, but i want to apply this listener to my first column where all links are shown..
any help plz...
i have currently set event listener to whole datagrid like so,
this.dg.addEventListener(ListEvent.ITEM_CLICK, gotoURL);
function gotoURL(e:ListEvent):void
{
var req:URLRequest = new URLRequest("url");
navigateToURL(req, "_blank");
}
in this way when a user clicks anywhere in the datagrid it will be redirected to that url, but i want to apply this listener to my first column where all links are shown..
any help plz...