Flex DataGridColumn显示图片
<mx:DataGrid dataProvider="{httpSrv.lastResult.catalog.data}" x="0" width="100%" creationComplete="init();" bottom="40" top="40"> <mx:columns> <mx:DataGridColumn visible="false" headerText="ID" dataField="id"/> <mx:DataGridColumn headerText="标题" dataField="title"/> <mx:DataGridColumn headerText="编号" dataField="bh"/> <mx:DataGridColumn headerText="提交人" dataField="truename"/> <mx:DataGridColumn headerText="提交时间" dataField="submittime" /> <mx:DataGridColumn headerText="附件" dataField="attach" /> [color=#FF0000]<<这列需要以图片方式显示(如果有附件,则显示1.gif,无则不显示图片)[/color] </mx:columns></mx:DataGrid>