Export Overview
By default, the Telerik UI TreeList component for ASP.NET Core provides a PDF and Excel export functionality.
For more information about the available export options of the TreeList, refer to the articles on:
The Export is part of Telerik UI for ASP.NET Core, a
professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.
Under the hood, most of the PDF export options use the Kendo UI for jQuery Drawing library and the Excel export builds a kendo.ooxml.Workbook
.
To enable the PDF and Excel Export functionality, add the following ToolBar configuration:
@(Html.Kendo().TreeList<Kendo.Mvc.Examples.Models.TreeList.EmployeeDirectoryModel>()
.Name("treelist")
.ToolBar(tools=>
{
tools.Pdf();
tools.Excel();
})
)
<kendo-treelist name="treelist">
<toolbar>
<treelist-toolbar-button name="pdf"/>
<treelist-toolbar-button name="excel"/>
</toolbar>
<!-- Other configuration. -->
</kendo-treelist>