Custom Task type?

Hi,

I want to create a custom task type “phase”, where it contains sub tasks. The type phase will start with its first child task and end with its last child task. How can I add this behavior.

Hello,
the simplest way would be to use a ‘project’ type for such tasks. You can add some flag property to define them as a ‘phase’ and use a task_class and task_text templates to define a custom styling.

Or define a custom type as explaned here docs.dhtmlx.com/gantt/desktop__t … customtype and save the tasks with an empty start date and duration - then their timing will adjust to the timing of the child items