ExcelCommandToolbarDirective
Directive
Represents the Export to Excel toolbar tool of the Grid.
Apply this directive to any kendo-toolbar-button element inside a ToolbarComponent used in the Grid.
When the user clicks the button, the excelExport event fires (see example).
Definition
Package:@progress/kendo-angular-grid
Selector:[kendoGridExcelTool]
Syntax:
html
<kendo-grid>
<kendo-toolbar>
<kendo-toolbar-button text="Excel Export" kendoGridExcelTool></kendo-toolbar-button>
</kendo-toolbar>
<kendo-grid-excel fileName="Grid.xlsx"></kendo-grid-excel>
</kendo-grid>