Hi
I wrote a component based on the Image to use it as a itemRenderer for
a datagridcolumn. I created a datagrid and specified the itemRenderer.
but when I run it the "data" field of the Image stays null.
<mx:DataGrid id="dg" x="285" y="86">
<mx:dataProvider>
<mx:ArrayCollection>
<mx:Object>
<mx:rating>
1
</mx:rating>
</mx:Object>
</mx:ArrayCollection>
</mx:dataProvider>
<mx:columns>
<mx:DataGridColumn id="c1" headerText="R"
itemRenderer="path.to.my.imgcomponent"/>
</mx:columns>
</mx:DataGrid>
thanks in advance
max