:: Forum >> Version 2 >>

Background color of selected cell not visible

Hi,

I have setted the background of my cells like this:

myGrid.defineCellProperty("color","");//color matrix 
myGrid.defineCellProperty("backColor",""); backcolor matrix

myGrid
.getCellTemplate().setStyle("color",function()
                      {return 
this.getCellProperty("color",this.$1,this.$0)});
myGrid.getCellTemplate().setStyle("background-color",function()
                 {return  
this.getCellProperty("backColor",this.$1,this.$0)});

 
If I select a cell which have a background != null, the selection background is not visible.

I have tried then to set .aw-cells-selectet as !important.

.aw-cells-selected,
 .
aw-rows-selected {
    
color#fff!important;
    
background-color#316ac5!important;
}

 
The result is that disappear the background of editable cell .

Could anyone help me?
MP
Thursday, May 31, 2007
Add the style for edited cells -

.aw-edit-cell {
    
color#000!important;
    
background-color#fff!important;
}
 
Alex (ActiveWidgets)
Thursday, May 31, 2007



This topic is archived.

Back to support forum

Forum search