ExcelCommandToolbarDirective
Directive
Represents the export-to-Excel toolbar tool of the TreeList. Apply this directive to any kendo-toolbar-button element inside a ToolbarComponent used in the TreeList.
When the user clicks a button with this directive, the excelExport event fires (see example).
Definition
Package:@progress/kendo-angular-treelist
Selector:[kendoTreeListExcelTool]
Syntax:
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>