New to Kendo UI for AngularStart 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

NameTypeDefaultDescription

position

ToolbarPosition

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).
In this article
SelectorInputs
Not finding the help you need?
Contact Support