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

Conditional Formatting

ASPxGridView supports conditional formatting, i.e., automatically applies cell formatting based on specified rules. This feature helps end-users to quickly spot critical information, identify trends and exceptions, and compare data.


Formatting rules can be created at design time or at runtime. To learn how to create rules, see the Creating Conditional Formatting Rules topic.

The rules are contained in the ASPxGridView.FormatConditions collection, and can be represented by the following types of conditions.

  • Color scale format condition
  • Highlight format condition
  • Icon set format condition
  • Top bottom format condition

To learn more about format condition types, see the Format Condition Types topic.

Export Capabilities

The style settings applied to grid cells can be exported together with data to various formats using our data aware export engine. Moreover, when we export data to Excel formats (XLS and XLSX), the format conditions are transformed to corresponding Excel conditional formatting rules. Therefore, you can manage the rules in Excel after export.

Online Demos

See Also