Reputation: 5462
I want to add/delete row from datagrid when a user right click within the data grid but actually i am unable to get the row index(or column index or selectedIndex) .Any one ??
Upvotes: 3
Views: 1450
Reputation: 785
Try this DataGrid =>
itemRollOver="updateMenu(event.rowIndex)"
private function updateMenu(index:Number):void
{
trace("row index"+index)
}
Upvotes: 1