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

Automatically collapse child tasks

Asked by Anonymous
1 year 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]
1 year 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
1 year 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]
1 year 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).

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.