How do i add a image to a column in the datagrid?
Currently my code is
<mx:DataGridColumn dataField="image" headerText="Photo Image" editable="false">
<mx:itemRenderer>
<mx:Component>
<mx:HBox height="30" horizontalAlign="center">
<mx:Image source="{'assets/image.jpg'}"/>
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
WGere the dataField = "image" is the name of the picture file.