New to Kendo UI for Angular? Start a free 30-day trial
ToolbarTemplateDirective
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'
.
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>
Selector
[kendoGanttToolbarTemplate]
Inputs
Name | Type | Default | Description |
---|---|---|---|
position |
|
Sets the Gantt Toolbar that uses this template. Possible values:
|