Sanitized sample data from api:
{
"data":[
{"id": "task 1", "text":"<sanitized>", "start_date":"2019-05-30 00:00:00", "end_date":"2019-05-31 00:00:00", "status":"open", "assignee":"user3", "duration": 0, "type": "task"},
{"id": "task 2", "text":"<sanitized>", "start_date":"2019-05-29 00:00:00", "end_date":"2019-05-30 00:00:00", "status":"open", "assignee":"user3", "duration": 0, "type": "task"},
{"id": "task 3", "text":"<sanitized>", "start_date":"2019-05-28 00:00:00", "end_date":"2019-05-29 00:00:00", "status":"open", "assignee":"user3", "duration": 0, "type": "task"},
{"id": "task 4", "text":"<sanitized>", "start_date":"2019-05-24 00:00:00", "end_date":"2019-05-25 00:00:00", "status":"open", "assignee":"user3", "duration": 0, "type": "task"},
{"id": "task 5", "text":"<sanitized>", "start_date":"2019-04-17 00:00:00", "end_date":"2019-04-18 00:00:00", "status":"done", "assignee":"user3", "duration": 0, "type": "task"},
{"id": "task 6", "text":"<sanitized>", "start_date":"2019-04-22 00:00:00", "end_date":"2019-04-23 00:00:00", "status":"in progress", "assignee":"user2", "duration": 1, "parent": "task 7", "type": "task"},
{"id": "task 7", "text":"<sanitized>", "start_date":"2019-05-14 00:00", "end_date":"2019-05-17 00:00", "status":"open", "assignee":"user1", "duration": 3, "parent": "0", "type": "project"},
...
],
"links":[
{"id": "5cbe2b7f003eec88d714c614", "source": "task 4", "target": "task 3", "type": 0},
{"id": "5cbe2b7f003eec88d714c644", "source": "task x", "target": "task y", "type": 0},
{"id": "5cbe2b7f003eec88d714c64a", "source": "task q", "target": "task z", "type": 0},
{"id": "5cbe2b7f003eec88d714c64c", "source": "task v", "target": "task 9", "type": 0},
{"id": "5cbe2b7f003eec88d714c66c", "source": "task 1", "target": "task 8", "type": 0},
...
]
}
Extensions:
/ext/dhtmlxgantt_smart_rendering.js
/ext/dhtmlxgantt_multiselect.js
/ext/dhtmlxgantt_tooltip.js
/ext/dhtmlxgantt_marker.js
/ext/dhtmlxgantt_undo.js
/ext/dhtmlxgantt_keyboard_navigation.js
Config options:
gantt.config.min_column_width = 18;
gantt.config.row_height = 22;
gantt.config.sort = true;
gantt.config.static_background = true;
gantt.config.smart_scales = true;
gantt.config.branch_loading = false;
gantt.config.xml_date="%Y-%m-%d %H:%i";
gantt.config.work_time = true;
gantt.config.duration_unit = ‘hour’;
gantt.config.duration_step = ‘8’;
gantt.config.multiselect = true;
gantt.config.scale_unit = “month”;
gantt.config.step = 1;
gantt.config.date_scale = “%F, %Y”;
gantt.config.scale_height = 36;
gantt.config.order_branch = true;
gantt.config.order_branch_free = true;
gantt.config.order_branch = “marker”;