Thanks Venkat.

TestID is a item in a ArrayCollection.
I added TestID as addItem .

So in the override function, I am not sure how to call the TestID to
get its value.

Regards


On Sep 24, 1:02 am, "Venkat Viswanathan" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> In the itemRenderer, override the "set data" method and inside that you can
> check for the value in TestID and then set the source of the image as per
> the requirement.
>
> Regards,
> Venkatwww.venkatv.com
>
> On Tue, Sep 23, 2008 at 6:44 PM, flexkwt <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I have a <mx:DataGridColumn and dataField="TestID"
>
> > I want to conditionally display an image based on the value from
> > TestID.
> > Say if TestID is 0, then display red in the mx:DataGridColumn, if
> > TestID  is not 0 then display yellow.
>
> > How can I do this?
>
> > Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to