Questions Tagged collapse
How to collapse all groups by default ?
Answered: You probably mean the Gantt chart which displays the nodes expanded by default. You can override the default value using row.collapsed property of the data object:
{
id: 1
start: "2019-01-01T...
Keep expanded/Collapsed state after a postback Daypilot Gantt
Answered: If you set StoreTasksInViewState="true" the current state of the whole task hierarchy will be saved in the ViewState and it will be available on the server side during PostBacks.
How to Expand/Collapse all nodes on resource tree in a single click?
Answered: Yes, you can use rows.expandAll() method:
dp.rows.expandAll();
See also: https://api.daypilot.org/daypilot-scheduler-rows-expandall/
Questions 1-3 of 3