:: Forum >> Version 2 >>

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
Sunday, April 15, 2007
Just switch the order of these two lines - the last one overrides the preceding rules.
Alex (ActiveWidgets)
Monday, April 16, 2007
Sorry it does not work with. the last line does not override the preceding rules

#grid2 .aw-column-{width90px;text-alignright;border-right1px solid #333333;BACKGROUND#E9E9E9;}
#grid2 .aw-column-{width90px;text-alignright;border-right1px solid #333333;BACKGROUND#E9E9E9;}
#grid2 .aw-grid-row {border-bottom1px solid threedlightshadow;}
#grid2 .aw-rows-selected {BACKGROUND#316ac5;}  
Thierry
Monday, April 16, 2007
oops, sorry, my mistake. You have to add

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



This topic is archived.

Back to support forum

Forum search