name
列、を持つ DataGrid テーブルがありますphone
。コラムname
では、その人の名前の近くに写真を追加したいと思います. データグリッド行に画像を追加するにはどうすればよいですか?
<fx:Declarations>
<fx:XMLList id="people" xmlns="">
<test>
<name>moshe</name>
<phone>555</phone>
</test>
</fx:XMLList>
</fx:Declarations>
<mx:DataGrid id="dg" color="0x323232" width="532" rowCount="10" top="10" left="10" DataProvider="{people}">
<mx:columns>
<mx:DataGridColumn dataField="name" headerText="person name"/>
<mx:DataGridColumn dataField="phone" headerText="phone"/>
</mx:columns>
</mx:DataGrid>