highlight records

blondie63

New Member
I've a list of records with one logical field named "Canceled", i need to add a red background for records with canceled=1
Is there a way to do this ?

Thanks for help
 
Use the "use as row class" feature:

http://fabrikar.com/forums/index.php?wiki/elements/#list-settings

If you enable that on an element, the value of that element will be added as a class name to the rows. If the value is numeric, we prepend the element name to the value, as you can't have numeric class names in CSS.

Then you can add a custom CSS file to your template folder (see wiki), and add the classes you need, so in yourcase ...

Code:
.cancelled1 {
   bg-color: red;
}

To confirm the name of the class, use something like Chrome's dev tools, or Firebug in FF, to inspect your page, and see what class we have added to the row.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top