@progress/kendo-react-gantt
Version:
React Gantt enables the display of self-referencing tabular data with many features. KendoReact Gantt package
44 lines (43 loc) • 1.73 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
*-------------------------------------------------------------------------------------------
*/
import { ComponentType } from 'react';
import { TreeColumnBaseProps } from '@progress/kendo-react-data-tools';
import { GanttCellProps } from './GanttCellProps.js';
import { GanttHeaderCellProps } from './GanttHeaderCellProps.js';
import { GanttFilterCellProps } from './GanttFilterCellProps.js';
/**
* The props of the columns of the Gantt component.
*/
export interface GanttColumnProps extends Omit<TreeColumnBaseProps, 'children' | 'editCell' | 'cell' | 'disableReorder'> {
/**
* Defines the component that will be rendered as a cell. If not set, a `GanttCell` will be rendered by default.
*/
cell?: ComponentType<GanttCellProps>;
/**
* @hidden
* Defines the component that will be rendered as an edit cell.
*/
editCell?: ComponentType<GanttCellProps>;
/**
* Defines the component that will be rendered as a header cell.
* If not set, a `GanttHeaderCell` will be rendered by default.
*/
headerCell?: ComponentType<GanttHeaderCellProps>;
/**
* **Deprecated**. Use `filterCell` prop instead.
*/
filter?: ComponentType<GanttFilterCellProps>;
/**
* Defines the component that will be rendered as a filter cell.
*/
filterCell?: ComponentType<GanttFilterCellProps>;
/**
* A collection of child columns.
*/
children?: GanttColumnProps[];
}