deleteAllSections

deletes all sections from the currently active view

void deleteAllSections();

Available only in PRO Edition

Example

scheduler.createTimelineView({
    name:   "timeline",
    render:"tree",
    ...
    y_unit:[
        {key:"managers",    label:"Administration"},
        {key:"accounts",    label:"Accounting Department"},
        {key:"sales",       label:"Sales and Marketing"},
        {key:"production",  label:"Production Department"}
    ]
});
...
scheduler.deleteAllSections();

Applicable views:Timeline View
Details

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.

See also
Back to top