Two features were added in dbFront 1.2.0.0343 that let you deal with this scenario.
As of dbFront 1.2.0.0343, you can now:
- Assign multiple CSS classes to a table row.
- Assign a CSS class to the table-grid columns.
Using a View or Calculated column you can return a list of CSS classes for that table row that list the items you want to alert the user about.
For example, if the temperature is too high you could return a class named "tempToHigh".
If the Temperature column is assigned a class named "tempField" then you can create a CSS style as follows to make the temperature column stand out.
tr.tempToHigh>td.tempField {
color: red !important;
font-weight: bold !important;
}
Important: Please ensure that you use the exact case for the CSS classnames in dbFront, the database column and the CSS files because CSS is case specific.
For more details on adding styles to the Table Grid see: Table Row Styling