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?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
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
|