ToolbarTemplateDirective
Directive
Represents the toolbar template of the Gantt.
The template context includes:
position—The position where the toolbar template renders. Possible values are'top'and'bottom'.
Definition
Package:@progress/kendo-angular-gantt
Selector:[kendoGanttToolbarTemplate]
Syntax:
html
<kendo-gantt [kendoGanttHierarchyBinding]="data" [style.height.px]="400">
<ng-template kendoGanttToolbarTemplate [position]="position" let-position="position">
<button kendoButton (click)="onClick()">Custom action</button>
</ng-template>
</kendo-gantt>
Inputs
Sets the Gantt Toolbar that uses this template.
Possible values:
top—Renders the template in the top toolbar (if present) only.bottom—Renders the template in the bottom toolbar (if present) only.both—Renders the template in both toolbars (if present).