0
votes

in flex3 ,i can get the owner component by listdata in datagrid.but in flex4 ,there is no listdata property in itemrenderer,so what can I do to get the owner datagrid.

I try the dataGrid= this.automationOwner as DataGrid;,it does not work.

2

2 Answers

0
votes

you can access listData property in flex 4. refer docs

0
votes

If you just need a reference to the DataGrid,then you can try this, grid.dataGrid