search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Automatically collapse child tasks

Asked by Anonymous
2 months ago.

Hey! I want my child tasks to be collapsed by default when opening a gantt chart, how can I do that?

Answer posted by Dan Letecky [DayPilot]
2 months ago.

By default, the state of all Gantt chart groups is set to "expanded". You can keep the children collapsed by setting Expanded = false when loading tasks.

Comment posted by Anonymous
2 months ago.

Tell me pls, can the task remember its position? If users opened it, so that it remains open and does not collapse?

Comment posted by Dan Letecky [DayPilot]
2 months ago.

The tree state is synchronized with the server during CallBacks and PostBacks - you can read the current Expanded state of each task (Tasks property).

New Reply
This reply is
Your name (optional):