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.

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE