Sometimes people want to see overall result at first sight.

It would be a tremendous advance to be able to have rows coloured depending on any particular field's values. A simple example: having a field "urgent" and making any row with an "urgent" field to 1 appear with a different background color.

Comments

oscaral’s picture

Title: Different color of rows depending on a particular field » Different color background of rows depending on a particular field
jimbullington’s picture

You could probably do this with the PHP Code option under Report Criteria - something like:

<?php
foreach($rows as $i => $row) {
  // check for our value in the eight report column
  if ($row[8]['data'] == 'two') {
    foreach ($row as $j => $cell) {
      $rows[$i][$j]['style'] = 'background-color:#FF0000;';
    }
  }
}
?>