3.2.0

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
May 31,
Add the style for edited cells -

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

This topic is archived.

See also:


Back to support forum