DHTMLX Docs & Samples Explorer

getTaskById(id)

  • id - id of the task

returns GanttTask object by id

    var project12 = ganttChart.getProjectById(12);
    var task33 = project.getTaskById(33);