Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Apr 27, 2008 15:17
open dhtmlx forum
DhtmlxGrid

how can i change the selected row color for the gray skin??
Answer posted by support on Apr 28, 2008 02:29
Defined in dhtmlxgrid.css, for gray skin it will be

div.gridbox_mt table.obj tr.rowselected td{
    background-color:#D6D3FA;
    color:black;
    }
div.gridbox_mt table.obj tr.rowselected td.cellselected, div.gridbox table.obj td.cellselected {
    background-color:#D6D3FA;
    }
Answer posted on Apr 28, 2008 08:00

i tried the following and its not working

div.gridbox_mt table.obj tr.rowselected td{

background-color:#8FBC8F;

color:Black;

}

div.gridbox_mt table.obj tr.rowselected td.cellselected, div.gridbox table.obj td.cellselected {

background-color:#8FBC8F;

}

Answer posted by Support on Apr 29, 2008 03:51
Sorry for inconvenience, the correct class names for gray skin are

div.gridbox table.obj tr.rowselected td{
..
div.gridbox table.obj tr.rowselected td.cellselected, div.gridbox table.obj td.cellselected {
Attachments (1)