How to achieve, the length of the parent task is not affected by the child task

How to achieve this, the task and the sub-task exist independently, the parent task will not automatically change with the time of the sub-task.

Hello,
Usually, parent tasks with the task type do not obtain the start_date and end_date parameters from their children:
https://snippet.dhtmlx.com/5/38ee1b370

It doesn’t work that way if the parent task is loaded without the necessary date parameters (start_date, end_date, duration).
So, if you load tasks with at least 2 of 3 date parameters, the parent tasks won’t obtain dates from their children.

Thank you for your answer. thank you very much.

具体怎么写呢?还是不太清楚!!!!!!!!!!!!!!!

Hello Songfei,
Please, ask questions only in English.
Unfortunately, your question is not clear to me. Please describe it with more details in English. If it is related to the following topic, please continue our discussion there: