:: Forum >>

onRowClicked not for first column

Hello,
I have a hidden column (thie first one) with a URL in it that I am using as the link for each row. I have the following code for when the row is clicked which works fine.

I would like to create a checkbox as the first column (2nd if you count that the first is actually the hidden URL) and the problem is that when I click the checkbox, it fires this event. Is there any way I can tell the grid not to fire this event for a given column? Thanks.

obj.onRowClicked = function(event, index) {
window.location.href=this.getCellValue(0, index);
};
Joe Hudson
Sunday, November 13, 2005
I figured it out...

I need to use onCellClicked instead of onRowClicked.

Joe
Joe Hudson
Sunday, November 13, 2005

This topic is archived.


Back to support forum

Forum search