This is a migrated thread and some comments may be shown as answers.

Highlighting cells in a column in a specific color depending on value in cell.

1 Answer 443 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 05 Apr 2016, 08:48 PM

I have web-based application in ASP.net with VB.net as the code-behind.

I am designing a new page that will have the RadGrid.

In that Grid, I need help on how to highlight the cell with a specific color and/or change the color of the text in the cell depending on the value in that cell.

Attached is a screenshot of an example of what I am looking to do.

In the attached example:

if the cell value = GE3WK in OVL Status column then highlight it GREEN

if the cell value = NOMIN in OVL Status column then highlight it WHITE with the Text changed to a light Blue

etc.

Also need a similiar thing for OVL DOH column where if value is greater than 20.0 then highlight it in Light Cyan else keep it with white background and black text.

Please help with this.  Thanks!

Sincerely,

Keith Jackson

1 Answer, 1 is accepted

Sort by
0
Accepted
Roberto
Top achievements
Rank 1
answered on 06 Apr 2016, 12:01 PM
Tags
Grid
Asked by
Keith
Top achievements
Rank 1
Answers by
Roberto
Top achievements
Rank 1
Share this question
or