I use :
$grid->event->attach(“beforeRender”,“color_rows”);
function color_rows($row){
$bloccato = $row->get_value(“bloccato”);
if ($bloccato=="SI") {
$class = 'bgRed';
$row->set_row_attribute("class",$class);
}
// $row->set_row_attribute("bloccato",$bloccato);
}
i.e. if the column “bloccato” is set to “SI” then the row gets a “bgRed” class set…
in old v. it worked perfecty, but in new v (3.6), it only works on second “page” of grid, i.e. if I page through the grid… bug seems to be somehow connected to dynamic_loading too…