dhtmlx-gantt Multiple tasks in the same row

5 min read

dhtmlx-gantt Multiple tasks in the same row

In case you have a large task which is not continuous and can be interrupted, you can divide it into several parts. There can be as many parts, as it's required.

At the data level, such tasks can be represented as a summary task (project) with subtasks, where each subtask defines an isolated part of the main task.

To display a project as a split task, you need to set its render property to split:

{id: 1, text: "Task #2", start_date: "03-04-2018 00:00", type: "project",     render:"split", parent: 0},  {id: 2, text: "Task #2.1", start_date: "03-04-2018 00:00", duration: 1,     parent: 1}, {id: 3, text: "Task #2.2", start_date: "05-04-2018 00:00", duration: 2,     parent: 1}, {id: 4, text: "Task #2.3", start_date: "08-04-2018 00:00", duration: 1,     parent: 1}