function formatting($row){
$row->set_row_color($row->get_value(“reason”));
}
the formatting is skipping rows
function formatting($row){
$row->set_row_color($row->get_value(“reason”));
}
the formatting is skipping rows
Hello/
Please, try to add the following line in your grid initialization:
mygrid.enableAlterCss("even","uneven");
and the following css:
.even{
background-color: inherit !important;
}
.uneven{
background-color: inherit !important;
}
thanks so much for the reply. I tried your code and now I get no colors.
Please, also, try to use the:
$row->set_row_style("background:your_color");
instead of:
$row->set_row_color(your_color);
it working now thanks