UNPKG

@progress/kendo-angular-gantt

Version:
37 lines (36 loc) 1.52 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { FlatBindingDirective } from '@progress/kendo-angular-treelist'; import * as i0 from "@angular/core"; /** * Binds the Gantt to an array of objects by using an ID and parent ID field to define the hierarchy. * * Use this directive to handle in-memory data operations such as sorting and filtering. [See example](slug:directives_databinding_gantt#binding-to-flat-data). * * @example * ```html * <kendo-gantt * [kendoGanttFlatBinding]="data" * parentIdField="parentTaskId" * idField="id" * [dependencies]="dependencies"> * </kendo-gantt> * ``` * * @remarks * Applied to: {@link GanttComponent} */ export declare class GanttFlatBindingDirective extends FlatBindingDirective { /** * Sets the array of data to populate the Gantt. */ data: any[]; /** * @hidden */ set aggregate(value: any); static ɵfac: i0.ɵɵFactoryDeclaration<GanttFlatBindingDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GanttFlatBindingDirective, "[kendoGanttFlatBinding]", ["kendoGanttFlatBinding"], { "data": { "alias": "kendoGanttFlatBinding"; "required": false; }; }, {}, never, never, true, never>; }