# auto_types

:::info
This functionality is available in the PRO edition only. 
:::

### Description

@short: Automatically converts tasks with subtasks to projects and projects without subtasks back to tasks

@signature: auto_types: boolean

### Example

~~~jsx
gantt.config.auto_types = true;
~~~

**Default value:** false


### Related samples
- [Create summary tasks dynamically (auto_types)](https://docs.dhtmlx.com/gantt/samples/04_customization/19_task_type.html)

### Related Guides
- [Inline Editing in Grid](guides/inline-editing.md#inline-editing-modes)
- [Task Types](guides/task-types.md)
