deleteAllSections
к сведению
Эта функциональность доступна только в версии PRO.
Description
Удаляет все секции из текущего активного представления
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();
Доступные представления: Timeline view
Details
примечание
Методы требуется активировать плагин treetimeline.
примечание
Если открытое представление не является Timeline в режиме 'Tree', метод будет проигнорирован.
Related API
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.