adds a new dependency link
the link object
any
adds a new task
the task object
the parent's id
any
attaches the handler to an inner event of dhtmlxGantt
the event's name, case-insensitive
the handler function
any
calls an inner event
the event's name, case-insensitive
an array of the event-related data
boolean
changes the link's id
the current link's id
the new link's id
any
changes the task's id
the current task's id
the new task's id
any
checks whether an event has some handler(s) specified
the event's name
boolean
removes all tasks from the Gantt chart
any
closes the branch with the specified id
the branch id
any
deletes the specified dependency link
the dependency link's id
any
deletes the specified task
the task's id
any
detaches all handlers from events (which were attached before by the attachEvent() method)
any
detaches a handler from an event (which was attached before by the attachEvent() method)
the event's id
any
iterates over specified tasks of the Gantt chart
a function that will iterate over tasks. Takes a task object as a parameter
the parent id. If specified, the function will iterate over childs of the
specified parent
the object, that 'this' will refer to
any
returns the 1st-level child tasks of the specified parent branch
the parent branch's id
any
get the index of a task in the tree
the task id
any
gets the label of a select control in the lightbox
the name of a data property that the control is mapped to
the option's id. This parameter is compared with the task's data property to
assign the select's option to the task
any
gets the lightbox's HTML object element
HTMLElement
returns the object of the lightbox's section
the name of the section
any
returns values of the lightbox's sections
any
returns the dependency link object by the specified id
the link id
any
returns the HTML element of the specified dependency link
the link id
HTMLElement
returns the id of the next item (no matter what the level of nesting is: the same or different)
the task id
any
returns the id of the previous item (no matter what the level of nesting is: the same or different)
the task id
any
returns the scroll position
any
returns the id of the selected task
any
gets the current state of the Gantt chart
any
returns the task object
the task id
any
returns a collection of tasks which occur during the specified period
the start date of the period
the end date of the period
any
get the index of a task in the branch
the task id
number
returns the HTML element of the task bar
the task id
HTMLElement
returns the HTML element of the task row in the table
the task id
HTMLElement
checks whether the specified item has child tasks
the task id
boolean
hides the lightbox modal overlay that blocks interactions with the remaining screen
an element to hide
any
closes the lightbox if it's currently active
any
hides the pop-up task form (if it's currently active)
any
constructor. Initializes a dhtmlxGantt object
an HTML container ( or its id) where a dhtmlxGantt object will be initialized
the start value of the time scale (X–Axis)
the end value of the time scale (X–Axis)
any
checks whether the specified link is correct
the link object
boolean
checks whether the specified link exists
the link id
boolean
checks whether the specified task exists
the task id
boolean
checks whether the specifies task is currently rendered in the Gantt chart
the task's id
boolean
loads data to the gantt from an external data source
the server-side url (may be a static file or a server side script that outputs data)
('json', 'xml', 'oldxml') the data type. The default value - 'json'
the callback function
any
gets the id of a task from the specified HTML event
a native event
string
moves a task to a new position
the id of the task to move
the index of the position that the task will be moved to
(the index in the whole tree)
the parent id. If specified, the tindex will refer to the index in the
'parent' branch
any
opens the branch with the specified id
the branch id
any
loads data from a client-side resource
a string or object which represents data
( 'json', 'xml' ) the data type. The default value - 'json'
any
refreshes data in the Gantt chart
any
refreshes the specifies link
the link id
any
refreshes the task and its related links
the task id
any
renders the whole Gantt chart
any
removes the current lightbox's HTML object element
any
forces the lightbox to resize
any
scrolls the Gantt container to the specified position
the value of the horizontal scroll
the value of the vertical scroll
any
selects the specified task
the task id
any
serializes the data into JSON or XML format.
the format that the data will be serialized into.
Possible values: 'json' (default ), 'xml'.
any
returns a list of options
the name of a list
an array of options
any
resizes the Gantt chart
any
shows the lightbox modal overlay that blocks interactions with the remaining screen
an element to hide
any
opens the lightbox for the specified task
the task id
any
displays the pop-up task form for the specified task
the task id
any
makes the specified task visible on the screen
the task id
any
sorts the tasks in the grid
the name of the column that the grid will be sorted by or a custom
sorting function
specifies the sorting direction: true - descending sort and false - ascending
sort. By default, false
the id of the parent task. Specify the parameter if you want to sort tasks only in
the branch of the specified parent.
any
removes selection from the selected task
any
updates the specified dependency link
the task id
any
updates the specified task
the task id
any