UNPKG

@progress/kendo-angular-gantt

Version:
52 lines (51 loc) 1.78 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Defines the model fields for creating `GanttTask` instances. * * > You can set all task fields to use nested property values, for example, `category.id`. */ export interface GanttTaskModelFields { /** * Specifies the name of the end date model field. * Use this property to map the end date from your data model. * @default "end" */ end?: string; /** * Specifies the name of the `ID` model field. * Use this property to map the unique identifier from your data model. * @default "id" */ id?: string; /** * Specifies the name of the percent complete model field. * Use this property to map the completion ratio from your data model. * @default "completionRatio" */ completionRatio?: string; /** * Specifies the name of the start date model field. * Use this property to map the start date from your data model. * @default "start" */ start?: string; /** * Specifies the name of the title model field. * This property is used as text in the task content area. * @default "title" */ title?: string; /** * Specifies the name of the children model field. * Use this property to map child tasks from your data model. * @default "children" */ children?: string; } /** * @hidden */ export declare const DEFAULT_TASK_MODEL_FIELDS: GanttTaskModelFields;