Skip to content
Home » Conditional Formatting

Conditional Formatting

Conditional Formatting

Conditional Formatting, also known as Color Formatting, is used to highlight specific values by applying different color schemes when those values meet predefined conditions. This helps relevant data stand out from the rest.

The color formatting could be applied to the text value or its background.

Text vs. Background formatting

The Conditional Formatting option supports a few data types including:

  • Number
  • Dropdown
  • Mirror Number
  • Mirror Dropdown

All other data types are not supported by this feature.

The State data type has color formatting support embedded by default.

State Property's color formatting

Click on App Settings icon and then select the Application Settings option.

Invoke App Settings

Click the App Model option in the panel.

Click App Model option

Select the desired object.

Select the desired object

Select the relevant property.

Select the relevant property

Click Show More option at the bottom of the panel.

Click Show More option

Click the + Add color formatting button.

Click the + Add color formatting button

The Conditional/Color formatting section is displayed.

Used to add an if (or else if) condition

Used to add an else condition

Used to pick the relevant operator for the condition

Used to set the value that would trigger the condition

Used to select where to apply the color formatting, on text or at the background

Color picker used to select the color. The selected color would be applied in case the condition becomes true

Used to delete the condition

Now, set the if part of the condition.

Set the if part of the condition

Set the then part of the condition (where color coding is done).

Set the then part of the condition

The first value of the dropdown control has been configured. We have configured that for Priority value “Low”, the value cell would be filled with blue color.

To configure the next dropdown value, we need to add another if part. Click the + Add if condition button.

Click the + Add if condition button

Repeat the above process until all the desired values have been configured. Now click the Save button.

Click Save button

The number or text type properties can also be color-formatted similarly.

Click the Update App button.

Click Update App button

Click the Confirm button to complete the process.

Click the Confirm button

Now open the relevant object in Table view.

Open the relevant object

The relevant property values has been color formatted as per the conditions that we set.

Color formating done

I applied color formatting to one of the fields in a table, but nothing happened. Why?

Sometimes users may apply color formatting to a field, but it does not show up on the table.

Where is color formatting?

This is due to the color formatting not enabled for that particular field. To correct this problem, follow these steps:

Click the App Settings icon and then the On button.

Invoke Inline Editing

Click the table edit orange icon (the bottom one).

Click table edit icon

Click the Properties tab.

Click the Properties tab

We can see that the checkbox corresponding to our property in question is not enabled yet. Enable this checkbox.

Enable the checkbox

The color formatting can also be applied to other views, apart from the Table view. To do it click the Sync Component button, select the desired views (or Select All) and then click the Save button.

Sync Components to apply color formatting across all the views

Click the Update Page button.

Click the Update Page button

The color formatting has been applied to the relevant field.

Color Formatting applied