Skip to main content

deleteAllSections

info

This functionality is available in the PRO edition only.

Description

Deletes all sections from the currently active view

deleteAllSections: () => void

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

note

The method requires the treetimeline plugin to be activated.

note

If the opened view isn't Timeline in the 'Tree' mode, the method will be ignored.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.