New to Kendo UI for AngularStart a free 30-day trial

ExcelCommandToolbarDirective

Represents the export-to-Excel toolbar tool of the TreeList. You can apply this directive to any kendo-toolbar-button element inside a ToolbarComponent used in the TreeList.

When the user clicks a button associated with the directive, the excelExport event fires (see example).

html
<kendo-treelist>
     <kendo-toolbar>
        <kendo-toolbar-button text="Excel Export" kendoTreeListExcelTool></kendo-toolbar-button>
     </kendo-toolbar> 
     <kendo-treelist-excel fileName="TreeList.xlsx">
     </kendo-treelist-excel>
</kendo-treelist>

Selector

[kendoTreeListExcelTool]

In this article
Selector
Not finding the help you need?
Contact Support