Try using an itemRenderer.

Create a separate component that looks like this:
(saved as imageRenderer.mxml in the comps directory)
<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml";
        paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="2" 
        width="50" height="20" horizontalAlign="center" >
        <mx:Image source="images/image.gif" width="14" height="14" />
</mx:HBox> 


then add it to your datagrid like this:

 <mx:DataGridColumn headerText="!" itemRenderer="comps.imageRenderer" />

HTH, Jack

--- In flexcoders@yahoogroups.com, Vinoth Babu <[EMAIL PROTECTED]> wrote:
>
> Hi,
>    
>   Need your help to  load an different images in a datagrid column
>    
>   Thanks 
>   Vinoth
>    
> 
>  
> ---------------------------------
> Don't be flakey. Get Yahoo! Mail for Mobile and 
> always stay connected to friends.
>


Reply via email to