ToolbarTemplateDirective
Directive
Represents the toolbar template of the TreeList (see example).
The template context has the following field:
position—The position at which the toolbar template is rendered. The possible values aretop,bottom, andboth.
Definition
Package:@progress/kendo-angular-treelist
Selector:[kendoTreeListToolbarTemplate]
Syntax:
html
<kendo-treelist ...>
<ng-template kendoTreeListToolbarTemplate>
<button kendoTreeListExcelCommand>Export to Excel</button>
</ng-template>
</kendo-treelist>
Inputs
position
"top" | "bottom" | "both"
Sets the position of the toolbar. The value can be top, bottom, or both.
Controls whether the toolbar appears above, below, or on both sides of the TreeList. See example.
Default:
'top'