Export Data

 
Country
Selection
Contact Name Contact Title Company Name Full Address
Country: Austria
Roland MendelSales ManagerErnst HandelGraz - 8010 - Kirchgasse 6
Georg PippsSales ManagerPiccolo und mehrSalzburg - 5020 - Geislweg 14
Country: Belgium
Pascale CartrainAccounting ManagerSuprêmes délicesCharleroi - B-6000 - Boulevard Tirou, 255
Country: Brazil
Mario PontesAccounting ManagerHanari CarnesRio de Janeiro - 05454-876 - Rua do Paço, 67
Bernardo BatistaAccounting ManagerQue DelíciaRio de Janeiro - 02389-673 - Rua da Panificadora, 12
Paula ParenteSales ManagerWellington ImportadoraResende - 08737-363 - Rua do Mercado, 12
Country: Canada
Data grid with 49 rows and 5 columns
0 rows are selected

The DevExpress Blazor Grid UI component allows you to export data to XLS, XLSX, PDF, and CSV formats via the following data export methods:

To customize the exported document, use the export method's options parameter.

This demo calls an export method once you click the desired "Export..." button. The Export Selected Rows Only checkbox above the Blazor Grid component sets the ExportSelectedRowsOnly option. When exporting to XLSX/XLS/PDF, the CustomizeCell event handler italicizes values stored in the Contact Name column. During PDF export operations, the CustomizePageFooter event handler adds page numbers to the footer.

Note: Our Blazor Grid exports data from all visible columns. To exclude a column from export operations, set the column's ExportEnabled property to false.