How to get index row index or right click column index in datagrid

I want to add / remove a row from a datagrid when the user right-clicks in the data grid, but in fact I cannot get the row index (or column index or selectedIndex). Any one

+3
source share
1 answer

Try this DataGrid =>

itemRollOver="updateMenu(event.rowIndex)" private function updateMenu(index:Number):void { trace("row index"+index) }

+1
source

Source: https://habr.com/ru/post/1734401/


All Articles