Change row color based on a value in the row
Environment
Product | Progress® Telerik® Reporting |
Description
How we can change row color, or any other styling characteristic, using conditional formatting?
Solution
Note that this solution is applicable when column headers are placed in Group Header Section and detailed row is placed in detailed section as TextBox items.
- Select the detail section of your report.
- Select the ConditionalFormatting property of the detail section.
- Click the New Rule button.
-
Enter a condition that should be true for the row to change color. For example:
Expression: "=Fields.Flag" Operator: equal "=" Value: "True"
- Click the Style button.
- Click the Background style item.
- Choose a background color from the drop down list or ellipses color selector. Change any other style characteristics you choose.
- Click OK to close each of the open dialogs.