@progress/kendo-react-gantt
Version:
React Gantt enables the display of self-referencing tabular data with many features. KendoReact Gantt package
68 lines (67 loc) • 2.1 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
/**
* Defines the model fields that will be used for creating `GanttTask` instances.
*/
export interface GanttTaskModelFields {
/**
* The name of the `ID` model field.
* Defaults to `"id"`.
*/
id?: string;
/**
* The name of the start date model field.
* Defaults to `"start"`.
*/
start?: string;
/**
* The name of the end date model field.
* Defaults to `"end"`.
*/
end?: string;
/**
* The name of the title model field.
* Defaults to `"title"`.
*/
title?: string;
/**
* The name of the percent complete model field.
* Defaults to `"percentComplete"`.
*/
percentComplete?: string;
/**
* The name of the percent complete model field.
* Defaults to `"parentId"`.
*/
parentId?: string;
/**
* The name of the is rollup model field.
* Defaults to `"isRollup"`.
*/
isRollup?: string;
/**
* The name of the is expanded model field. It will provide a Boolean representation of the expanded state of the item.
* Defaults to `"isExpanded"`.
*/
isExpanded?: string;
/**
* The name of the children model field. It will provide an array representation of the item subitems.
* Defaults to `"children"`.
*/
children?: string;
/**
* The name of the is in edit model field. It will provide a Boolean representation of the edit state of the current item.
* Defaults to `"isInEdit"`.
*/
isInEdit?: string;
/**
* The name of the selected model field. It will provide a Boolean representation of the selected state of the current item.
* Defaults to `"isSelected"`.
*/
isSelected?: string;
}