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.

DEMO
SOURCE

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.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab