0

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

<mx:DataGridColumn width="23" src="images/testimage.jpg"/>
JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
jon
  • 5
  • 3

1 Answers1

3

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>

Cornel Creanga
  • 5,311
  • 1
  • 22
  • 28