http://flexpearls.blogspot.com/2008/02/row-background-color-in.html

Goto this link and try it. It works I did this
Regards Sidhu



On Sep 17, 2010, at 12:42 AM, Anoop PK <[email protected]> wrote:

Hi Deepak,

It is a common requirement for the datagrid. You can easily achieve
this through ItemRenderer.
You need to write a item renderer and in that itemrenderer, check for
your conditions and set the background color.
Ideally we are setting colors for each cell in the row, rather than
the complete row.

Just google for the datagrid itemrenderer and you will get ample
examples.

Cheers,
Anoop

On Sep 16, 11:21 pm, deepak <[email protected]> wrote:
Hello friends,

I have a requirement regarding datagrid in flex 3. when I populate the
datagrid with an ArrayCollection as its data provider, I need to
highlight the background color of few rows depending upon few
conditions.

e.g.

I have an ArrayCollection which has 5 elements at y0,y1,y2,y3,y4.

In different conditions I need to highlight one or more than one rows
of datagrid.

Please guide me in this regards or if any other way to implement this
requirement. I just need to let the user notice the important rows in
the datagrid.

Thanks,
Deepak

--
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 .


--
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