I have a datagrid with a combobox in it like;
<mx:DataGrid editable="true" x="72" y="10" id="dataGrid" creationComplete="dataGrid_creationCompleteHandler(event)" dataProvider="{getAllResult.lastResult}" height="178" width="896">
<mx:columns>
<mx:DataGridColumn headerText="STATUS" dataField="tooltip"/>
<mx:DataGridColumn headerText="CUSTOM" editable="false" width="250" labelFunction="meAdnan" >
<mx:itemRenderer>
<fx:Component className="myEditor2">
<mx:VBox height="100%" >
<mx:ComboBox id="pickState" labelField="attname"
dataProvider="{parentApplication.getAllResult2.lastResult}"
>
</mx:ComboBox>
</mx:VBox>
</fx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
Now when I want to access a function from the itemrendered/combobox i use parentApplication.funcName
but what about accessing the other way, how can I access a property of the combobox from outside the itemrenderer? I tried myEditor2.pickState
but it is now working