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 allows you to export data to XLS, XLSX, PDF, and CSV formats via the following data export methods:

This demo calls an export method once you click the "Export..." button. The options parameter allows you to customize the exported document:

  • The CustomizeCell event handler italicizes values in the Contact Name column.
  • The CustomizePageFooter event handler adds page numbers to the page footer of PDF documents.
  • When the Export Selected Rows Only checkbox (above the Grid component) is checked, our Blazor Grid exports selected records and corresponding group rows (SelectedRowsExportMode is set to KeepGrouping).

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.