본문으로 건너뛰기

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();

Applicable views: Timeline view

Details

노트

이 메서드는 treetimeline 플러그인이 활성화되어 있어야 합니다.

노트

현재 뷰가 'Tree' 렌더링이 적용된 Timeline 뷰가 아닐 경우, 이 메서드는 아무런 효과가 없습니다.

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.