UNPKG

@progress/kendo-angular-gantt

Version:
33 lines (32 loc) 1.58 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 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`]({% slug api_gantt_headertemplatedirective %}) directive inside the `<kendo-gantt-column>` tag. * * The template context provides: * * `column`&mdash;The current [`ColumnComponent`]({% slug api_gantt_ganttcolumncomponent %}). * * `columnIndex`&mdash;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>; }