Menu

Conditionally Color Grid Rows

+11 votes

Is there any way to view the grid with row conditionally colored based on the content of a field?
Thanks

in Features (Done) by (260 points)
retagged by
I updated your question and turned it into a feature request since that is not the first time that someone has requested that functionality.

1 Answer

0 votes
 
Best answer

As of dbFront 1.1.0.3232, you can now specify a table or view column that will be used to set a CSS class on the table row. This allows you to use the full power of CSS to conditionally style and color table rows.

The setting is found on the Table Fields tab of the Table Preferences, you can choose a specific field and assign it to set the Row CSS Class.

Complete instructions are available at: Conditional Row Color & Styling.

You can also see this in operation on the demo site: HR JobType Table

by (65.1k points)
Welcome to the dbFront Q&A site, where you can ask questions and receive answers from other members of the community.
 | Minimalist Answer Theme by Digitizor Media
 |
Powered by Question2Answer
...