of the sample for doing inline renders.
Thanks.
-Steven
--- In [email protected], "Steven Toth" <[EMAIL PROTECTED]>
wrote:
>
> I'm trying to load an image into a DataGridColumn header.
>
> I've tried this...
>
> <mx:DataGridColumn dataField="status" width="5">
> <mx:headerRenderer>
> <mx:Component>
> <mx:Image source="/assets/CheckBox.png"/>
> </mx:Component>
> </mx:headerRenderer>
> </mx:DataGridColumn>
>
> As well as this...
>
> <mx:DataGridColumn dataField="status" width="5">
> <mx:headerRenderer>
> <mx:Component>
> <mx:Image source="@Embed
> (source='/assets/CheckBox.png')"/>
> </mx:Component>
> </mx:headerRenderer>
> </mx:DataGridColumn>
>
> I've also tried setting the autoLoad to True, specifying a height
> and a width for the image, and not specifying a width for the
column.
>
> The image loads fine from the specified path when I use it as the
> icon for a button.
>
> Any thoughts?
>
> Thanks.
>
> -Steven
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

