Example of Server Side Exporting in ASP.NET Core Tree Grid Control
This sample demonstrates the server-side exporting of the Tree Grid, which allows you to export its data to the Excel, CSV and PDF formats using server-side actions. Use the toolbar buttons to export Tree Grid data to desired format.
Server-side exporting is implemented by using the Syncfusion.EJ2.GridExport library.
In this demo, ExcelExport, CsvExport and PdfExport items are defined in the toolbar and for these toolbar items, we have defined actions in ToolbarClick event to export the Grid data using the serverExcelExport serverCsvExport and serverPdfExport methods.