OK, I now have it working correctly.

I use the itemClick event, then I check if rowIndex > 0. The last part
prevents a click in the header from triggering the application logic.

> > 
> > I have a grid, and a click event defined. On a click on a row, I
> > determine the row using selectedIndex, then I display data in another
> > grid on a different tab depending on a product id from the
selected row.
> > 
> > This works fine, except when I click in the header or the scroll bar
> > of the grid, the click event gets fired, when obviously I was not
> > wanting that to happen.
> > 
> > I tried the change event, but that only recognizes changes in the row,
> > so does not allow the same row to be clicked a second time.
> > 
> > Is there any way to only capture a click on a data row?
> > 
> > Thanks
> > 
> > Andrew
> >
>



Reply via email to