我有一個數據網格,裏面有一個組合框,在Flex中訪問項目渲染器的屬性
<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>
現在,當我想從itemrendered /組合框我用parentApplication.funcName
但有關訪問的其他方式訪問什麼功能,我怎樣才能從itemRenderer的外部訪問組合框的屬性?我試圖myEditor2.pickState
,但它現在正