Welcome Guest Search | Active Topics | Sign In | Register

Grid Cell Attributes Options
patingamon
Posted: Tuesday, February 19, 2008 12:08:21 PM
Rank: Member
Groups: Member

Joined: 9/6/2007
Posts: 29
How do I set the background color or other attributes for a given cell in a grid. For example, I have a grid that lists medications. I need the meds that have expired to be RED, the ones that will expire in the next month to be YELLOW and the rest have no background color.

Any thoughts?
eo_support
Posted: Tuesday, February 19, 2008 12:18:27 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You can use conditional formatting, but that works on rows, not cells. Your other option would be rendering HTML by your self. For example, instead of having the Grid cell text as "Expired", you would feed the Grid cell "<font color='red'>Expired</font>".

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.