3.0 beta 2

highlight text color not working after setting cell color

If i set a cell color specifically using:
obj.getCellTemplate(cell).setStyle("color","green");
then when i highlight a row, the text color stays green and does not change to white as it should.

Is there any way to solve this?
I've tried putting in:
.aw-rows-selected {color: white;}
.aw-cells-selected {color: white;}

but that still doesn't work.
Jonathan Doklovic
February 8,
If you use row selection mode it should be

.aw-rows-selected .aw-grid-cell {color: white!important;}

with cell selection it should be

.aw-cells-selected {color: white!important;}

The !important flag is necessary because the style set directly on the element has higher priority than everything from stylesheets.
Alex (ActiveWidgets)
February 8,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.