View on GitHub

dotnet-eud

.NET Controls End-User Documentation

Conditional Formatting

The Grid dashboard item supports the conditional formatting feature that provides the capability to apply formatting to grid cells whose values meet the specified condition. This feature allows you to highlight specific cells or entire rows using a predefined set of rules. To learn more about conditional formatting concepts common for all dashboard items, see the Conditional Formatting topic.

Conditional Formatting Overview

The Grid dashboard item allows you to apply conditional formatting to data items providing data to the following column types.

[!NOTE] Note that you can use hidden measures to specify a condition used to apply formatting to visible values.

New appearance settings are applied to grid cells corresponding to the target dimension/measure values.

Create a Format Rule

To create a new format rule for the Grid’s dimension/measure, do one of the following.

Depending on the selected format condition, the dialog used to create a format rule for Grid contains different settings. For instance, the image below displays the Greater Than dialog corresponding to the Value format condition.

GreaterThanDialog

The Apply to row check box allows you to specify whether to apply the formatting to the entire grid row.

Edit a Format Rule

To edit format rules for the current Grid dashboard item, use the following options.

All of these actions invoke the Edit Rules dialog containing existing format rules. To learn more, see Conditional Formatting.