Export

 
Name Type Mass, 1021 × kg Radius, km Volume, 109 × km3 Gravity, m/s2
Sun
Star 1,989,100,000.00 696,000.00 1,412,000,000.00 274.00
Data grid with 1 rows and 6 columns
0 rows are selected

The DevExpress Blazor TreeList UI component allows you to export data to XLS, XLSX, CSV, and PDF files 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. When exporting to XLSX/XLS/PDF, the CustomizeCell event handler italicizes values stored in the Type column. During PDF export operations, the CustomizePageFooter event handler adds page numbers to the footer.

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