3.2.0

Font-color selected row

I try to have a font-color changed on a selected row.

I use the system css and define in my main page:
#myGrid .aw-rows-selected { background: #CC0711; color: #FFFFFF; }

(ofcourse I defined: obj.setId("myGrid");)

The background is fine and change while selected, however the font-color doesn't.
So I looked in the aw.css (system) where ".aw-rows-selected" is defined using a color. I've ereased the ".aw-rows-selected" from the stylesheet in order to define this statement myself.
Still the font-color isn't changing. Does anyone have an idea?
RG
August 31,

#myGrid .aw-rows-selected { background: #CC0711!important; color: #FFFFFF!important; }
August 31,
Unfortunately that does not work as well
RG
August 31,
?
http://www.activewidgets.com/javascript.forum.11546.5/firefox-aw-alternate-with-aw.html
http://www.activewidgets.com/javascript.forum.10009.5/removing-row-selected-highlight.html
August 31,
I think you need to apply color to cells (inside selected rows) -

#myGrid .aw-rows-selected {background: #CC0711}
#myGrid .aw-rows-selected .aw-grid-cell {color: #FFFFFF}

Alex (ActiveWidgets)
August 31,
Great! Thanks for the answers. The code from Alex did the trick! Thanks allot!
RG
September 1,

This topic is archived.

See also:


Back to support forum