GanttProps
Represents the props of the KendoReact Gantt component.
Name | Type | Default | Description |
---|---|---|---|
children? |
|
Specify the available | |
className? |
|
Sets custom CSS classes to the Gantt DOM element. | |
columnMenu? |
| ||
columnMenuFilter? |
| ||
columns? |
|
A collection of | |
defaultView? |
|
Sets the initially selected view. The available values are:
| |
dependencyData? |
|
Sets the dependency data of the Gantt component. The data is then parsed and rendered as a visual connections between Gantt tasks. | |
dependencyModelFields? |
|
The names of the model fields from which the Gantt will read its task data. | |
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 | |
reorderable? |
|
If set to | |
resizable? |
|
If set to | |
row? |
|
The Gantt row component. | |
rowHeight? |
|
Defines the row height and implements equal heights for all rows. | |
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? |
|
Represents the | |
taskData? |
|
Sets the task data of the Gantt component. The data is then parsed and rendered as a visual Gantt tasks. | |
taskModelFields? |
|
The names of the model fields from which the Gantt will read its task data. | |
timezone? |
|
Specifies the id of the timezone that will be displayed in the Gantt.
For example, | |
toolbar? |
|
Allow configuration of the Gantt toolbar. Currently allows enabling the add button. | |
view? |
|
Sets the currently selected view. The value is matched with the |
Methods
onAddClick | ||||||
---|---|---|---|---|---|---|
Fires when the user clicks on Gantt add button. | ||||||
|
onColumnMenuFilterChange | ||||||
---|---|---|---|---|---|---|
|
onColumnReorder | ||||||
---|---|---|---|---|---|---|
Fires when the columns are reordered. | ||||||
|
onColumnResize | ||||||
---|---|---|---|---|---|---|
Fires when a column is resized. | ||||||
|
onDataStateChange | ||||||
---|---|---|---|---|---|---|
Fires when the data state of the Gantt is changed. | ||||||
|
onDependencyCreate | ||||||
---|---|---|---|---|---|---|
Fires when the user creates dependecy between two tasks. | ||||||
|
onExpandChange | ||||||
---|---|---|---|---|---|---|
Fires when the user clicks on the expand or collapse icon of a row. | ||||||
|
onFilterChange | ||||||
---|---|---|---|---|---|---|
Fires when the Gantt filter is modified through the UI (more information and examples). You have to handle the event yourself and filter the data. | ||||||
|
onHeaderSelectionChange | ||||||
---|---|---|---|---|---|---|
Fires when the user clicks the checkbox of a column header whose | ||||||
|
onKeyDown | ||||||
---|---|---|---|---|---|---|
Fires when the user press keyboard key. | ||||||
|
onRowClick | ||||||
---|---|---|---|---|---|---|
Fires when the user clicks a row. | ||||||
|
onRowContextMenu | ||||||
---|---|---|---|---|---|---|
Fires when the user trigger the context menu of row. | ||||||
|
onRowDoubleClick | ||||||
---|---|---|---|---|---|---|
Fires when the user double clicks a row. | ||||||
|
onSelectionChange | ||||||
---|---|---|---|---|---|---|
Fires when the user tries to select or deselect a row or cell. | ||||||
|
onSortChange | ||||||
---|---|---|---|---|---|---|
Fires when the sorting of the Gantt is changed (see example). You have to handle the event yourself and sort the data. | ||||||
|
onTaskClick | ||||||
---|---|---|---|---|---|---|
Fires when the user clicks a task. | ||||||
|
onTaskContextMenu | ||||||
---|---|---|---|---|---|---|
Fires when the user trigger the context menu of task. | ||||||
|
onTaskDoubleClick | ||||||
---|---|---|---|---|---|---|
Fires when the user double clicks a task. | ||||||
|
onTaskRemoveClick | ||||||
---|---|---|---|---|---|---|
Fires when the user clicks the task remove action. | ||||||
|
onViewChange | ||||||
---|---|---|---|---|---|---|
Called when new | ||||||
|