|
|
|
|
|
|
---|---|---|---|---|---|
|
|
|
|
|
|
Sun | Star | 1,989,100,000.00 | 696,000.00 | 1,412,000,000.00 | 274.00 |
Count: 35
|
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:
- ExportToXlsAsync — Exports data to the XLS format.
- ExportToXlsxAsync — Exports data to the XLSX format.
- ExportToCsvAsync — Exports data to the CSV format.
- ExportToPdfAsync — Exports data to PDF.
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
.