css on sub_row

I have a grid with a sub_row. How do I get the sub_row detail to keep the CSS format of the parent row?



Example: blacktwig.com/playoffs/grid.php

Code:









Untitled Document





.even{

background-color:#FFFFFF;

}

.uneven{

background-color:#f1f1f1;

}

    .grid_hover {

background-color:#d2d2d2;

}































Thanks in advance for any assistance!

Scott

How do I get the sub_row detail to keep the CSS format of the parent row?
If I understood correctly, you need to have sub row with same styles as assigned to master row , right?
Unfortunately there is no simple way to implement such behavior, the only possible solution - code modification of dhtmlxgrid_excell_sub_row.js

dhtmlXGridObject.prototype._expandMonolite=function(n,show,hide){

d.className=“dhx_sub_row”;
that.objBox.appendChild(d);

in this point d - area of sub row
row - html element of master row
you can add any custom code to set necessary styles for sub row