开发者

how to embed image into flex grid column

开发者 https://www.devze.com 2022-12-25 22:18 出处:网络
Is there an easy way to embed an image into a flex grid column? Something similar to: <mx:DataGridColumn width=\"23\" src=\"images/t开发者_如何学Cestimage.jpg\"/>

Is there an easy way to embed an image into a flex grid column? Something similar to:

<mx:DataGridColumn width="23" src="images/t开发者_如何学Cestimage.jpg"/>


You need to use an item renderer like this one:

<mx:DataGridColumn>
<mx:itemRenderer>
    <mx:Component>
        <mx:Image source="images/testimage.jpg"/>
    </mx:Component>
</mx:itemRenderer>

0

精彩评论

暂无评论...
验证码 换一张
取 消