Hi,
I have a itemrenderer in datagrid and I am trying to get the instance of itemrender in datagrid keypressevent as follows
var col:DataGridColumn = _datagrid.columns[_datagrid.selectedCells[0].columnIndex]; var myItemrend:MyItemrender = col.itemRenderer as MyItemrender;
But the above myItemrend instance is null. How can I get the itemrenderer instance.
Please help.
Thanks, Rejeev.