| onAfterAutoSchedule | Fires when autoscheduling is done |
| onAfterBatchUpdate | Fires after the batchUpdate method was called |
| onAfterBranchLoading | If dynamic loading is enabled, fires after the task branch was loaded to the page |
| onAfterLightbox | Fires after the user has closed the lightbox (edit form) |
| onAfterLinkAdd | Fires after a new link is added to the Gantt chart |
| onAfterLinkDelete | Fires after the user deletes a link |
| onAfterLinkUpdate | Fires after the user updates a link |
| onAfterQuickInfo | Fires after the pop-up edit form is closed |
| onAfterRedo | Fires after the redo() method was called |
| onAfterRowResize | Fires after resizing of the row height is finished |
| onAfterSort | Fires after tasks are sorted in the grid |
| onAfterTaskAdd | Fires after the user adds a task to the Gantt chart |
| onAfterTaskAutoSchedule | Fires for each task which has been autoscheduled |
| onAfterTaskDelete | Fires after the user deletes a task |
| onAfterTaskDrag | Fires after the user has finished to drag and released the mouse button |
| onAfterTaskMove | Fires after a task was moved to a new vertical position |
| onAfterTaskUpdate | Fires after the user updates a task |
| onAfterUndo | Fires after the undo() method was called |
| onAjaxError | Fires if the server returns an error |
| onAutoScheduleCircularLink | Fires if some dependency loops were found during auto scheduling |
| onBeforeAutoSchedule | Fires before auto scheduling |
| onBeforeBatchUpdate | Fires before the batchUpdate method is called |
| onBeforeBranchLoading | If dynamic loading is enabled, fires after a user expands the task branch but before loading starts |
| onBeforeCollapse | Before gantt exits the fullscreen mode and goes back to normal mode |
| onBeforeDataRender | Fires before data is rendered on the page |
| onBeforeExpand | Fires before gantt is expanded to full screen |
| onBeforeGanttReady | Fires before the dhtmlxGantt initialization is started |
| onBeforeGanttRender | Fires before the Gantt chart is rendered on the page |
| onBeforeLightbox | Fires immediately before the user opens the lightbox (edit form) |
| onBeforeLinkAdd | Fires before a new link is added to the Gantt chart |
| onBeforeLinkDelete | Fires before the user deletes a link |
| onBeforeLinkDisplay | Fires after the links have been loaded to the Gantt chart but before they are displayed |
| onBeforeLinkUpdate | Fires before a link is updated |
| onBeforeMultiSelect | Fires before selecting a task or a range of tasks |
| onBeforeParse | Fires before data started to be parsed |
| onBeforeRedo | Fires before the redo() method is called |
| onBeforeRedoStack | Fires before an action is added into the redo stack |
| onBeforeRollupTaskDisplay | Fires before the rollup task is displayed on its parent project |
| onBeforeRowDragEnd | Fires when a user drops a row in the grid |
| onBeforeRowDragMove | Fires before a row of the grid is dragged vertically to a different position |
| onBeforeRowResize | Fires before the user starts to resize the row height by drag-and-drop |
| onBeforeRowResizeEnd | Fires before resizing of the row height is completed |
| onBeforeSplitTaskDisplay | Fires before a part of the split task is displayed on the Gantt chart |
| onBeforeTaskAdd | Fires before a new task is added to the Gantt chart |
| onBeforeTaskAutoSchedule | Fires for each task which is rescheduled |
| onBeforeTaskChanged | Fires after the user has finished dragging and released the mouse button but before the changes are applied |
| onBeforeTaskDelete | Fires before the user deletes a task |
| onBeforeTaskDisplay | Fires after the tasks have been loaded to the Gantt chart, but before they are displayed |
| onBeforeTaskDrag | Fires after the user has pressed the mouse button and started dragging, but before dhtmlxGantt starts the drag-and-drop operation |
| onBeforeTaskMove | Fires before a task is moved to a new vertical position |
| onBeforeTaskMultiSelect | Fires before the task selection state is being changed (the task is being selected or unselected) |
| onBeforeTaskSelected | Fires before the user selects a task |
| onBeforeTaskUpdate | Fires before the user updates a task |
| onBeforeUndo | Fires before the undo() method is called |
| onBeforeUndoStack | Fires before an action is added into the undo stack |
| onCircularLinkError | Fires when the circular reference has been detected and auto scheduling is not possible |
| onClear | Fires after all tasks were removed from the Gantt chart by the clearAll method |
| onCollapse | Fires when gantt went back to normal mode from the full screen mode |
| onColumnResize | Fires when the user is dragging the column's border to resize the column |
| onColumnResizeEnd | Fires after the user finished dragging the column's border to resize the column |
| onColumnResizeStart | Fires before the user starts to drag the column's border to resize the column |
| onContextMenu | Fires when a user clicks the right mouse button inside the Gantt chart (see the details) |
| onDataProcessorReady | Fires on the dp.init(gantt) call |
| onDataRender | Fires after data has been rendered on the page |
| onDestroy | Called after gantt has been cleared by the destructor method |
| onEmptyClick | Fires when the user clicks on an empty space in the Gantt chart (not on tasks) |
| onError | Fires when assert receives 'false' value, i.e. when assertion fails |
| onExpand | Fires when gantt is expanded to full screen |
| onGanttLayoutReady | Fires after the Gantt layout is ready, but before it is rendered |
| onGanttReady | Fires after the dhtmlxGantt initialization is complete but the Gantt chart is not rendered on the page yet |
| onGanttRender | Fires after the Gantt chart was rendered on the page |
| onGanttScroll | Fires when the Gantt chart is scrolled to a particular point |
| onGridHeaderClick | Fires when the user clicks on the grid's header |
| onGridResize | Fires when the user is dragging the grid's border to resize the grid |
| onGridResizeEnd | Fires after the user finished dragging the grid's border to resize the grid |
| onGridResizeStart | Fires before the user starts to drag the grid's border to resize the grid |
| onLightbox | Fires after the user has opened the lightbox (edit form) |
| onLightboxButton | Fires when the user clicks on a custom button in the lightbox |
| onLightboxCancel | Fires when the user clicks on the 'Cancel' button in the lightbox |
| onLightboxChange | Fires when the structure of the lightbox is changed |
| onLightboxDelete | Fires when the user clicks on the 'Delete' button in the lightbox |
| onLightboxSave | Fires when the user clicks on the 'Save' button in the lightbox |
| onLinkClick | Fires when the user clicks on a link |
| onLinkCreated | Fires when a user creates a new link between tasks |
| onLinkDblClick | Fires when the user double clicks on a link |
| onLinkIdChange | Fires when the id of a link is changed |
| onLinkValidation | Fires when the user adds a new link and dhtmlxGantt checks whether the link is valid |
| onLoadEnd | Fires after loading data from the data source has been completed |
| onLoadStart | Fires immediately before loading data from the data source has been started |
| onMouseMove | Fires when the mouse is moved over the gantt container |
| onMultiSelect | Fires after selection of a task or a range of tasks has been completed |
| onOptionsLoad | Fires after a collection of options has been loaded from the server, but isn't parsed yet |
| onParse | Fires after data was parsed (became available for API) but before it was rendered in the Gantt chart |
| onQuickInfo | Fires when the pop-up edit form appears |
| onRowDragEnd | Fires after the user drops a vertically reordered row in the grid |
| onRowDragStart | Fires before the user drags a row of the grid to vertically reorder it |
| onRowResize | Fires when the user is dragging the border of the row to resize the row height |
| onScaleAdjusted | Fires when the scale is re-rendered in order to display all tasks completely |
| onScaleClick | Fires when the user clicks on the cell in the time scale |
| onTaskClick | Fires when the user clicks on a task row in the grid area (including the 'expand/collapse' and 'add task' buttons) or on a task bar in the timeline area |
| onTaskClosed | Fires when a branch has been closed |
| onTaskCreated | Fires when a user creates a new task by pressing the'+' button in a grid, or when the createTask method is called |
| onTaskDblClick | Fires when the user double clicks on a task |
| onTaskDrag | Fires when the user drags a task |
| onTaskIdChange | Fires when the id of a task is changed |
| onTaskLoading | Fires when a task is being loaded from the data source |
| onTaskMultiSelect | Fires after the task selection state has changed (the task has been selected/unselected) |
| onTaskOpened | Fires when a branch has been opened |
| onTaskRowClick | Fires when the user clicks on a row in the table |
| onTaskSelected | Fires when the user selects a task |
| onTaskUnselected | Fires when the user unselects a task by selecting some other task |
| onTemplatesReady | Fires when the dhtmlxGantt templates are initialized |