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 <[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"/>....

Reply via email to