Hi, the dropdown of dataGrid is ListBase, so you can easily add
itemclick event just as below:
private function onInit():void{
var myDataGrid:DataGrid = new DataGrid;
myDataGrid.addEventListener(mx.events.ListEvent.ITEM_CLICK,
onItemClick);
}
private function onItemClick(event:ListEvent):void{
// your clicked code here
}
--- In [email protected], "stephen50232" <[EMAIL PROTECTED]>
wrote:
>
> Hi,
>
> Is it possible to fire an event every time a user clicks on a new row
> in a DataGrid. So that I can populate a form with a new record
> everytime the row in the DataGrid is selected.
>