Skip to main content
A newer version of this page is available. .

Conditional Formatting

  • 2 minutes to read

The GridControl includes a conditional formatting feature, which allows you to change individual cells or rows’ appearance based on specific conditions. This feature helps to highlight critical information, identify trends and exceptions, and compare data.

The image below demonstrates various types of conditional formatting.

ConditionalFormatting_showoff

Note

Only the Table View and TreeList View that work in Optimized Mode support this feature.

Conditional Formatting uses the Criteria Language Syntax to check if a cell value matches certain criteria. To highlight a row/cell using a Color or Brush stored at the data source level, use techniques from this topic - How to Conditionally Set Background and Foreground for Grid Rows and Cells.

Common Features

Conditional Formats in Details

Examples