Hello Everyone, Within a DataGrid, I have a DataGridColumn that uses a custom component as the item renderer. Within the component, I have an ArrayCollection that stores a set of value objects. My problem is that I cannot access the ArrayCollection values from outside of the item renderer component. Does anyone know how it would be possible to do this? I have posted a code snippet below.
<mx:Script> <![CDATA[ // Cannot access arrFiles from here. ]]> </mx:Script> <mx:DataGrid editable="true"> <mx:columns> <mx:DataGridColumn id="dgcUpload" width="130" headerText="Uploaded Files" editable="false"> <mx:itemRenderer> <mx:Component> <mx:VBox> <mx:Script> <![CDATA[ [Bindable]public var arrFiles:ArrayCollection = new ArrayCollection(); ]]> </mx:Script> </mx:VBox> </mx:Component> </mx:itemRenderer> </mx:DataGridColumn> </mx:columns> </mx:DataGrid> Is this possible? Thank you in advance for any assistance, Orville