@progress/kendo-angular-gantt
Version:
Kendo UI Angular Gantt
33 lines (32 loc) • 1.66 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { TemplateRef } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Represents the header cell template of the Gantt columns.
*
* Use this directive to customize the table header cell for a column.
* To define a header template, nest an `<ng-template>` tag with the
* [`kendoGanttHeaderTemplate`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/headertemplatedirective) directive inside the `<kendo-gantt-column>` tag.
*
* The template context provides:
* * `column`—The current [`ColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/ganttcolumncomponent).
* * `columnIndex`—The current column index.
*
* @example
* ```html
* <kendo-gantt-column>
* <ng-template kendoGanttHeaderTemplate let-column let-columnIndex="columnIndex">
* Custom Header for {{ column.field }} ({{ columnIndex }})
* </ng-template>
* </kendo-gantt-column>
* ```
*/
export declare class HeaderTemplateDirective {
templateRef: TemplateRef<any>;
constructor(templateRef: TemplateRef<any>);
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderTemplateDirective, [{ optional: true; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderTemplateDirective, "[kendoGanttHeaderTemplate]", never, {}, {}, never, never, true, never>;
}