You can monitor MouseEvent.DOUBLE_CLICK event and then use mouseEventToItemRenderer to fetch the item renderer at the mouse position.
If the item renderer is not present in the listItems[0] array, that mean it is not part of the header i.e. it is rendering a data/row. Regards, Swaroop _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Derrick Anderson Sent: Monday, June 04, 2007 3:40 AM To: [email protected] Subject: Re: [flexcoders] click event handler of datagrid, make it fire on rows only thanks that event does work better, but hopefully this can be expanded upon- for instance, using ListEvent.CHANGE fires when the user uses arrow keys to switch between records- in my case that will open a popup each time. it would be best if i could fire an event on dbl click of a row only, how can i do this? ----- Original Message ---- From: EECOLOR <[EMAIL PROTECTED]> To: [email protected] Sent: Sunday, June 3, 2007 4:50:36 PM Subject: Re: [flexcoders] click event handler of datagrid, make it fire on rows only You should listen to ListEvent.CHANGE. >From the documentation: change - Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction. Greetz Erik On 6/3/07, Derrick Anderson <andersonwebstudio@ yahoo.com <mailto:[EMAIL PROTECTED]> > wrote: hi, anyone know how i can get the 'click' property of the datagrid to only fire when i click a row? right now it fires even if you are clicking on one of the headers ... <mx:DataGrid width="100%" height="100%" id="leadsList" click="{displayProfile( event);}"> <mx:columns> <mx:DataGridColumn id="clmn_contactID" dataField="contactID" headerText="ID"/>.... _____ Shape Yahoo! in your own image. Join <http://us.rd.yahoo.com/evt=48517/*http:/surveylink.yahoo.com/gmrs/yahoo_pan el_invite.asp?a=7> our Network Research Panel today!

