Example of Server Side Exporting in ASP.NET MVC 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 opens in a new tab 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 opens in a new tab event to export the Grid data using the serverExcelExport opens in a new tab serverCsvExport opens in a new tab and serverPdfExport opens in a new tab methods.