3.2.0

background selected tow lost

I an in single-row mode.

setSelectionMode("single-row");

With styles as

#grid .aw-rows-selected {BACKGROUND: #316ac5;}
#grid2 .aw-column-1 {width: 70px;BACKGROUND: #316ac5;}


Conflict between the two colors.
I loose backgoundcolor selected row for the column 1.

I Want the same background color for the entire selected row.

How to do that?
Thierry
April 15,
Just switch the order of these two lines - the last one overrides the preceding rules.
Alex (ActiveWidgets)
April 16,
Sorry it does not work with. the last line does not override the preceding rules

#grid2 .aw-column-4 {width: 90px;text-align: right;border-right: 1px solid #333333;BACKGROUND: #E9E9E9;}
#grid2 .aw-column-5 {width: 90px;text-align: right;border-right: 1px solid #333333;BACKGROUND: #E9E9E9;}
#grid2 .aw-grid-row {border-bottom: 1px solid threedlightshadow;}
#grid2 .aw-rows-selected {BACKGROUND: #316ac5;}
Thierry
April 16,
oops, sorry, my mistake. You have to add

#grid2 .aw-rows-selected .aw-grid-cell {background: none}
Alex (ActiveWidgets)
April 16,
It works now
Thank you a lot
Thierry
April 17,

This topic is archived.

See also:


Back to support forum