automatically converts tasks with subtasks to projects and projects without subtasks back to tasks
Available only in PRO Edition
gantt.config.auto_types = true;
This functionality is available in the PRO edition only.