Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Show All Themes

Export with Format Conditions

  • Export to PDF
  • Export to XLS
  • Export to XLSX
  • Export to DOCX
  • Export to RTF
Customer Name 
Freight Descending
Unit Price 
Queen Cozinha890.7800$27.8025%42$875.70
Queen Cozinha890.7800$27.2025%70$1,428.00
Queen Cozinha890.7800$210.8025%40$6,324.00
Queen Cozinha890.7800$64.8025%12$583.20
Save-a-lot Markets830.7500$55.0025%100$4,125.00
Save-a-lot Markets830.7500$123.7925%60$5,570.55
Page 1 of 216 (2155 items)Prev1234567214215216Next

The DevExpress ASP.NET MVC GridView supports conditional formatting, i.e., automatically applies cell formatting based on the specified rules. The style settings applied to grid cells can be exported together with data to various formats using our data aware export engine.

When data is exported to a PDF or RTF file, the grid maintains the style settings applied to the cells (with the exception of images). Moreover, when you 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.

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxGridViewDemos