Try using the 'itemClick' event.

 

- Gordon 

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of greenfishinwater
Sent: Friday, November 17, 2006 11:45 AM
To: [email protected]
Subject: [flexcoders] DataGrid Click event - unexpected results

 

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