GanttPropsPremium
Represents the props of the KendoReact Gantt component.
Name | Type | Default | Description |
---|---|---|---|
children? |
|
Provides view components as children. The Gantt renders the currently selected view. jsx
| |
className? |
|
Adds custom CSS classes to the Gantt component. jsx
| |
columnMenu? |
|
The component to render as the column menu. | |
columnMenuFilter? |
|
The descriptors by which the data is filtered in the column menu. | |
columns? |
|
A collection of | |
defaultView? |
|
|
Sets the view that shows first when the Gantt loads. You can choose from:
jsx
|
dependencyData? |
|
Provides dependency data for the Gantt chart. Dependencies appear as visual connections between tasks. jsx
| |
dependencyModelFields? |
|
Maps field names for reading dependency data from your data source. jsx
| |
filter? |
|
The descriptors by which the data is filtered (more information and examples).
This affects the values and buttons in the | |
navigatable? |
|
|
If set to |
noRecords? |
|
Represents the component that will be rendered when the | |
onAddClick? |
|
Fires when the user clicks the add task button. | |
onColumnMenuFilterChange? |
|
Fires when the user changes the column menu filter. | |
onColumnReorder? |
|
Fires when the user reorders columns. | |
onColumnResize? |
|
Fires when the user resizes a column. | |
onDataStateChange? |
|
Fires when the data state changes. | |
onDependencyCreate? |
|
Fires when the user creates a dependency by connecting two tasks. | |
onExpandChange? |
|
Fires when the user clicks the expand or collapse icon on a row. | |
onFilterChange? |
|
Fires when the Gantt filter is modified through the UI (more information and examples). You need to handle the event yourself and filter the data. | |
onHeaderSelectionChange? |
|
Fires when the user clicks the checkbox in a column header. | |
onKeyDown? |
|
Fires when the user presses any keyboard key. | |
onRowClick? |
|
Fires when the user clicks a row. | |
onRowContextMenu? |
|
Fires when the user right-clicks on a row. | |
onRowDoubleClick? |
|
Fires when the user double-clicks a row. | |
onSelectionChange? |
|
Fires when the user selects or deselects rows or cells. | |
onSortChange? |
|
Fires when the sorting of the Gantt is changed (see example). You need to handle the event yourself and sort the data. | |
onTaskClick? |
|
Fires when the user clicks a task. | |
onTaskContextMenu? |
|
Fires when the user right-clicks on a task. | |
onTaskDoubleClick? |
|
Fires when the user double-clicks a task. | |
onTaskRemoveClick? |
|
Fires when the user clicks the remove button on a task. | |
onViewChange? |
|
Fires when the user selects a different view. Use this to control which view is shown. jsx
| |
reorderable? |
|
|
If set to |
resizable? |
|
|
If set to |
row? |
|
The Gantt row component. | |
rowHeight? |
|
|
Sets the height of all rows in pixels. All rows have the same height. jsx
|
selectable? |
|
The Gantt selectable settings. | |
sort? |
|
The descriptors by which the data is sorted. Applies the sorting styles and buttons to the affected columns. | |
sortable? |
|
Enables sorting (see example). | |
style? |
|
Sets custom styles for the Gantt component. jsx
| |
taskData? |
|
Provides task data for the Gantt chart. Tasks appear as visual bars in the timeline. jsx
| |
taskModelFields? |
|
Maps field names for reading task data from your data source. jsx
| |
timezone? |
|
Sets the timezone for displaying dates and times in the Gantt chart.
For example, jsx
| |
toolbar? |
|
Configures the toolbar options. You can enable the add task button. jsx
| |
view? |
|
Controls which view is currently shown. The value must match the jsx
|