onRowSelect Event does not get fired when clicking on a link

I have a grid that has a column that contains links. I am loading the link cells as follows:



Cell Text^javascript:selectLink();^_self



In my selecLink event handler, I need to retrieve the values from some of the other cells in the row that contains the link that was selected. I had hoped that I could get that information in the onRowSelect, or onBeforeSelect events, but those events are not being called when I click on the link.



How can I determine, within my selectLink() event handler, which row contains the link that was clicked.



but those events are not being called when I click on the link.
The order of calls are next
a) link code
b) onBeforeSelect event
c) onRowSelect event

so link code executed before row selection event.

You can try to poll necessary data as
Cell Text^javascript:selectLink(this);^_self

function selectLink(node){
var index = node.parentNode._cellIndex;
var id = node.parentNode.parentNode.idd;
}