Example of Default Exporting in ASP.NET MVC Tree Grid Control
This sample demonstrates the client-side exporting of the Tree Grid, which allows you to export its data to the Excel, Pdf and CSV formats. Use the toolbar buttons to export TreeGrid data to desired format.
By using the Persist collapsed state checkbox we can persist the Expand/Collpase state of Tree Grid in exported document
Tree Grid supports client-side exporting which allows you to export its data to the Excel, Pdf and CSV formats.
In this demo, for the toolbar items of exporting, we have defined actions in ToolbarClick
event to export the Tree Grid data using the excelExport
, pdfExport
and csvExport
methods
More information on the Pdf exporting opens in a new tab and Excel exportingopens in a new tab can be found in documentation section.