Tree Grid / Exporting / Default Exporting

Blazor Tree Grid Example - Default Exporting

Loading Syncfusion Blazor Server Demos…

This sample demonstrates client-side exporting in the Tree Grid to generate Excel, PDF, and CSV files from hierarchical data using built-in commands and APIs.

Enable exporting by setting AllowPdfExport and AllowExcelExport to true.

In this demo, the toolbar includes PDF Export, Excel Export, and CSV Export buttons. Click actions are handled in OnToolbarClick, which triggers the corresponding export methods: ExportToPdfAsync, ExportToExcelAsync, and ExportToCsvAsync.

For more information, see the Excel Export and PDF Export documentation sections.