Categories | Question details Back To List | ||
onRowSelect Event does not get fired when clicking on a link cell in the grid I have a grid that has a column that contains links. I am loading the link cells as follows: <cell>Cell Text^javascript:selectLink();^_self</cell> 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. Answer posted by Support on Aug 25, 2008 02:54 >> 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>Cell Text^javascript:selectLink(this);^_self</cell> function selectLink(node){ var index = node.parentNode._cellIndex; var id = node.parentNode.parentNode.idd; } |