Using Conditional Formatting
- 06 Mar 2025
- 1 Minute to read
- Print
- DarkLight
Using Conditional Formatting
- Updated on 06 Mar 2025
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback!
In a Report, the Conditional Formatting feature changes the color of a row or column based on a specific value. This feature is similar to the Color and Icon Rules; however, it is only supported with String, Int32, Decimal, and Boolean data types.
Conditional Formatting is lightweight compared to Color/Icon Rule, as it runs on the client side, whereas Rules run on the server side, which is a heavier operation on the Report.
Additionally, if both the Conditional Formatting and a Color/Icon Rule were used simultaneously, they would behave identically if the outputs were defined the same.
Example
- In a Designer Project, select CREATE REPORT from the Global Action Bar.
- Select and name the default Report in the resulting window, then click CREATE to enter the Report Designer.
- In the Report Designer, click Add under Data Source. Then, expand Common and select Account Data Source.
- Next, add Email Address, Department, and Created on Date under Data Fields.
- Navigate to Properties > GRID VIEW, change Grid Settings Type to Specified, and change Icon Type to Image.
- Under Properties > GRID VIEW > Conditional Formatting, select ADD.
- In the resulting window, under FORMATTING > Apply To, select Row or Column.
- Next, select department from the FORMATTING > Column Name drop-down list.
- In the Values field, add a specific value.
- Set Background and Foreground colors to highlight the specified accounts. The Background is the Row color, and the Foreground is the Text color.
- Choose an Icon Image, if desired. Then, select OK.
- In the Report Designer, click REFRESH PREVIEW to see the updated highlighted Row or Column. Additionally, the highlights will also appear when clicking Run Report.
Feature Changes
Description | Version | Developer Task |
---|---|---|
Added the ability to format the Number Types (Int32 and Decimal) in Conditional Formatting | 9.8 | [DT-042006] |
Was this article helpful?