closes all sections in the currently active view
Available only in PRO Edition
scheduler.closeAllSections();
This functionality is available in the PRO edition only.
The method requires the treetimeline plugin to be activated.
If the opened view isn't Timeline in the 'Tree' mode, the method will be ignored.