Editing

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:

  • row callbacks - onRowClick, onRowDoubleClick and onRowContextMenu
  • task callbacks - onTaskRemove, onTaskClick, onTaskDoubleClick and onTaskContextMenu
  • add button callback - onAdd
  • dependency create callback - onDependencyCreate
  • components - GanttForm and GanttRemoveDialog
  • utility functions for updating the data tree: addTask, removeTask and updateTask

Please check the example below which shows the example editing implementation in action:

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?