New to KendoReact? Start a free 30-day trial
Editing
EditingPremium
You can create, update, and delete the data records of the Gantt.
Getting Started
The Gantt provides the following callbacks, components and utility functions to allow full user control:
- First we define
taskModelFieldsto prepare the items for manipulation; - row callbacks -
onRowClick,onRowDoubleClickandonRowContextMenu - task callbacks -
onTaskRemove,onTaskClick,onTaskDoubleClickandonTaskContextMenu - add button callback -
onAdd - dependency create callback -
onDependencyCreate - handle
onFormSubmit- It provides information about the updated task as well ascreatedDependencies,updatedDependenciesanddeletedDependencies. - components -
GanttFormandGanttRemoveDialog - utility functions for updating the data tree:
addTask,removeTaskandupdateTask
Please check the example below which shows the example editing implementation in action:
Change Theme
Theme
Loading ...