Subtasks_displaying

When the tree is collapsed in Sample-> 18_subtasks_displaying, subtasks are displayed in one line. However, sub milestones are shown as tasks when the tree is collapsed. Can’t I get milestones to be displayed as they are?

Hello Seungmin,
In that sample, the subtasks are displayed with the help of the additional task layer:
https://docs.dhtmlx.com/gantt/api__gantt_addtasklayer.html
To make it work as you expect, you just need to turn on the open_split_tasks parameter:
https://docs.dhtmlx.com/gantt/api__gantt_open_split_tasks_config.html
And here is the sample:
https://docs.dhtmlx.com/gantt/samples/04_customization/21_open_split_task.html