Hi All,

Webapp Mobile and Standard

I've created a field called Status. This field is defined in the validation-table.

The field is placed in a webgrid and attached to a cWebColumnCombo.
Based on the selection i want it to change color.

Example: I've attached something similar from a different application

Click image for larger version. 

Name:	ColorcodingList.jpg 
Views:	183 
Size:	33.8 KB 
ID:	13690

Currently i'm using onDefineClass to change the background and textcolor.
But this does not work properly because the textcolor needs to be black. When doing the selection in the combo it will revert to a white background.

Does anyone have a solution for this.

Roel