:: Forum >>

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
Tuesday, August 31, 2010

#myGrid .aw-rows-selected { background: #CC0711!important; color: #FFFFFF!important; }
Tuesday, August 31, 2010
Unfortunately that does not work as well
RG
Tuesday, August 31, 2010
?
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
Tuesday, August 31, 2010
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)
Tuesday, August 31, 2010
Great! Thanks for the answers. The code from Alex did the trick! Thanks allot!
RG
Wednesday, September 1, 2010

This topic is archived.


Back to support forum

Forum search