| Promise | Promise object constructor |
| addCalendar | Adds a calendar into Gantt |
| addLink | Adds a new dependency link |
| addLinkLayer | Displays an additional layer with custom elements for a link in the timeline area |
| addMarker | Adds a marker to the timeline area |
| addShortcut | Adds a new keyboard shortcut |
| addTask | Adds a new task |
| addTaskLayer | Displays an additional layer with custom elements for a task in the timeline area |
| adjustTaskHeightForBaselines | Adjusts the task's row height for proper display of baseline elements |
| alert | Calls an alert message box |
| assert | If the specified expression is false, an errorMessage is shown in the red popup at the top right corner of the screen |
| attachEvent | Attaches the handler to an inner event of dhtmlxGantt |
| autoSchedule | Recalculates the schedule of the project |
| batchUpdate | Updates multiple tasks/links at once |
| bind | Creates a new function that, when called, has its this keyword set to the provided value |
| calculateDuration | Calculates the duration of a task |
| calculateEndDate | Calculates the end date of a task |
| calculateTaskLevel | Calculates the level of nesting of a task |
| callEvent | Calls an inner event |
| changeLightboxType | Repaints the lighbox for the task according to its type |
| changeLinkId | Changes the link's id |
| changeTaskId | Changes the task's id |
| checkEvent | Checks whether an event has some handler(s) specified |
| clearAll | Removes all tasks and additional elements (including markers) from the Gantt chart |
| clearRedoStack | Clears the stack of stored redo commands |
| clearUndoStack | Clears the stack of stored undo commands |
| close | Closes the branch with the specified id |
| collapse | Collapses gantt from the full screen mode to the normal mode |
| columnIndexByDate | Returns the index of the column by the date |
| confirm | Calls a confirm message box |
| copy | Creates a deep copy of provided object |
| correctTaskWorkTime | Recalculates the task duration in the work time |
| createCalendar | Creates a working calendar |
| createDataProcessor | Creates a new dataProcessor instance and attaches it to gantt |
| createDatastore | Creates a datastore according to the provided configuration |
| createTask | Adds a new task and opens the lightbox to confirm |
| dataProcessor | DataProcessor constructor |
| dateFromPos | Gets the date of the specified horizontal position in the chart area |
| defined | Returns false if the provided argument is undefined, otherwise true |
| deleteCalendar | Deletes a task calendar by its id |
| deleteLink | Deletes the specified dependency link |
| deleteMarker | Deletes the specified marker |
| deleteTask | Deletes the specified task |
| destructor | Destroys the gantt instance |
| detachAllEvents | Detaches all events from dhtmlxGantt (both custom and inner ones) |
| detachEvent | Detaches a handler from an event (which was attached before by the attachEvent() method |
| eachParent | Iterates over all parent tasks of the specified task in the Gantt chart |
| eachSelectedTask | Iterates over all selected tasks in the Gantt chart |
| eachTask | Iterates over all child tasks of a specific task or the of whole Gantt chart |
| event | Attaches an event handler to an HTML element |
| eventRemove | Removes an event handler from an HTML element |
| expand | Expands gantt to the full screen mode |
| exportToExcel | Exports data from the Gantt chart to an Excel document |
| exportToICal | Exports data from the Gantt chart to an iCal string |
| exportToJSON | Exports the structure and data of a Gantt chart into a JSON object |
| exportToMSProject | Exports data from the Gantt chart to MS Project |
| exportToPDF | Exports a Gantt chart into the PDF format |
| exportToPNG | Exports a Gantt chart into the PNG format |
| exportToPrimaveraP6 | Exports data from the Gantt chart to Primavera P6 |
| findCycles | Returns all dependency loops in the chart |
| focus | Sets focus on the gantt |
| getCalendar | Gets worktime calendar by id |
| getCalendars | Gets all the calendars added into Gantt |
| getChildren | Returns the 1st-level child tasks of the specified parent branch |
| getClosestWorkTime | Returns the closest working time |
| getColumnIndex | Returns the index of the column by its name |
| getConnectedGroup | Returns all tasks and links that a task is connected with |
| getConstraintLimitations | Returns the earliest and latest dates allowed by the constraint applied to a task |
| getConstraintType | Returns the constraint type applied to the task |
| getDatastore | Returns the configuration object of a datastore |
| getFreeSlack | Returns the free slack of a task |
| getGlobalTaskIndex | Gets the index of a task in the tree |
| getGridColumn | Gets the configuration object of a column |
| getGridColumns | Gets columns of the Gantt chart |
| getLabel | Gets the label of a select control in the lightbox |
| getLastSelectedTask | Returns the id of the last selected task |
| getLayoutView | Returns the object of the layout view by its name |
| getLightbox | Gets the lightbox's HTML object element |
| getLightboxSection | Returns the object of the lightbox's section |
| getLightboxType | Returns the name of the active lighbox's structure |
| getLightboxValues | Returns values of the lightbox's sections |
| getLink | Returns the dependency link object by the specified id |
| getLinkCount | Returns the number of all dependency links presented in the Gantt chart |
| getLinkNode | Returns the HTML element of the specified dependency link |
| getLinks | Returns all links presented in the Gantt chart |
| getMarker | Gets the marker's object |
| getNext | Returns the id of the next item (no matter what the level of nesting is: the same or different) |
| getNextSibling | Returns the id of the next task of the same level |
| getParent | Returns the id of the parent task |
| getPrev | Returns the id of the previous item (no matter what the level of nesting is: the same or different) |
| getPrevSibling | Returns the id of the previous task of the same level |
| getRedoStack | Returns the stack of stored redo user actions |
| getResourceAssignments | Returns all tasks assigned to the resource |
| getResourceCalendar | Returns a calendar which the resource is assigned to |
| getScale | Returns the configuration of the time scale |
| getScrollState | Returns the scroll position |
| getSelectedId | Returns the id of the selected task |
| getSelectedTasks | Returns an array of the currently selected tasks |
| getShortcutHandler | Gets a key navigation shortcut handler |
| getSiblings | Returns siblings of the specified task (including itself) |
| getSlack | Checks how much time (in the current duration unit) a task has before it starts to affect other tasks |
| getState | Gets the current state of the Gantt chart |
| getSubtaskDates | Calculates the combined start/end dates of tasks nested in a project or another task |
| getSubtaskDuration | Calculates the combined duration of tasks nested in a project or another task. |
| getTask | Returns the task object |
| getTaskAssignments | Returns the parsed resource assignments of a specific task from the datastore |
| getTaskBarHeight | Returns the height (in pixels) of the DOM element of the task |
| getTaskBaselines | Returns an array of baselines of a specific task from the datastore |
| getTaskBy | Finds a task by the specified criteria |
| getTaskByIndex | Returns a task by its global task index |
| getTaskByTime | Returns a collection of tasks which occur during the specified period |
| getTaskByWBSCode | Returns a task by its WBS code |
| getTaskCalendar | Gets a calendar assigned to the specified task (a task level calendar) |
| getTaskCount | Gets the number of tasks that are currently loaded in the gantt |
| getTaskHeight | Returns the visible height of a task |
| getTaskIndex | Gets the index of a task in the branch |
| getTaskNode | Returns the HTML element of the task bar |
| getTaskPosition | Calculates the position and size of the task's DOM element in the timeline area |
| getTaskResources | Returns the array of unique resources assigned to a specific task from the datastore |
| getTaskRowNode | Returns the HTML element of the task row in the table |
| getTaskTop | Gets the top position of the task's DOM element in the timeline area |
| getTaskType | Returns the type of a task |
| getTotalSlack | Returns the total slack of a task |
| getUndoStack | Returns the stack of stored undo user actions |
| getVisibleTaskCount | Gets the number of tasks visible on the screen (those that are not collapsed) |
| getWBSCode | Returns the WBS code (the outline number) of a task |
| getWorkHours | Returns the working hours of the specified date |
| groupBy | Groups tasks by the specified task's attribute |
| hasChild | Returns the number of child task(s) |
| hideCover | Hides the lightbox modal overlay that blocks interactions with the remaining screen |
| hideLightbox | Closes the lightbox if it's currently active |
| hideQuickInfo | Hides the pop-up task form (if it's currently active) |
| importFromExcel | Converts an Excel file to JSON |
| importFromMSProject | Converts an XML or MPP MS Project file to JSON |
| importFromPrimaveraP6 | Converts an XML or XER Primavera P6 file to JSON |
| init | Initializes a dhtmlxGantt inside a container |
| isChildOf | Checks whether a task is a child of a different task |
| isCircularLink | Checks whether the link is circular |
| isCriticalLink | Checks whether the specified link is critical |
| isCriticalTask | Checks whether the specified task is critical |
| isLinkAllowed | Checks whether the specified link is correct |
| isLinkExists | Checks whether the specified link exists |
| isReadonly | Checks whether the specified task/link, or the whole Gantt is read-only |
| isSelectedTask | Checks whether the specified task is currently selected |
| isSplitTask | Checks whether the specified task is split |
| isSummaryTask | Checks whether the specified task is summary |
| isTaskExists | Checks whether the specified task exists |
| isTaskVisible | Checks whether the specifies task is currently rendered in the Gantt chart |
| isUnscheduledTask | Checks if the task is unscheduled |
| isWorkTime | Checks whether the specified date is working or not |
| load | Loads data to the gantt from an external data source |
| locate | Gets the id of a task from the specified HTML event |
| mergeCalendars | Merges several working calendars into one |
| message | Calls a message box of the specified type |
| mixin | Adds properties of the 'source' object into the 'target' object |
| modalbox | Calls a modalbox |
| moveTask | Moves a task to a new position |
| open | Opens the branch with the specified id |
| parse | Loads data from a client-side resource |
| plugins | Activates the specified extensions |
| posFromDate | Gets the relative horizontal position of the specified date in the chart area |
| redo | Applies the reverted changes to the gantt once again |
| refreshData | Refreshes data in the Gantt chart |
| refreshLink | Refreshes the specifies link |
| refreshTask | Refreshes the task and its related links |
| removeLinkLayer | Removes the specified layer related to a link |
| removeShortcut | Removes a keyboard shortcut |
| removeTaskLayer | Removes the specified layer related to a task |
| render | Renders the whole Gantt chart |
| renderMarkers | Updates all markers on the page |
| resetLayout | Rebuilds the Gantt layout using the current value of the layout config |
| resetLightbox | Removes the current lightbox's HTML object element |
| resetProjectDates | Re-calculates the duration of a project task depending on the dates of its children |
| resetSkin | Re-calculates the skin's settings from the related attached skin CSS file |
| resizeLightbox | Forces the lightbox to resize |
| roundDate | Rounds the specified date to the nearest date in the time scale |
| roundTaskDates | Rounds the start and end task's dates to the nearest dates in the time scale |
| scrollLayoutCell | Scrolls the layout view to the specified position |
| scrollTo | Scrolls the Gantt container to the specified position |
| selectTask | Selects the specified task |
| serialize | Serializes the data into JSON or XML format |
| serverList | Returns a list of options |
| setParent | Set the parent for a task |
| setSizes | Resizes the Gantt chart |
| setSkin | Sets the active skin |
| setWorkTime | Sets the working time for the Gantt chart |
| showCover | Shows the lightbox modal overlay that blocks interactions with the remaining screen |
| showDate | Scrolls the chart area to makes the specified date visible |
| showLightbox | Opens the lightbox for the specified task |
| showQuickInfo | Displays the pop-up task form for the specified task |
| showTask | Makes the specified task visible on the screen |
| silent | Makes all code inside it not to trigger internal events or server-side calls |
| sort | Sorts tasks in the grid |
| toggleTaskSelection | Selects the specified task if it was unselected and vice versa |
| uid | Returns a unique id |
| undo | Reverts the changes made in the gantt |
| unselectTask | Removes selection from the selected task |
| unsetWorkTime | Unsets a working time in the Gantt Chart |
| updateCollection | Updates the specified collection with new options |
| updateLink | Updates the specified dependency link |
| updateMarker | Updates the specified marker |
| updateTask | Updates the specified task |
| updateTaskAssignments | Updates the resource property of the task object with the values of the resource assignments from the datastore |