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