현재 활성 뷰 내에서 특정 섹션을 닫습니다.
section_id | string | 닫을 섹션의 식별자입니다. |
Available only in PRO Edition
scheduler.createTimelineView({
name:"timeline",
render:"tree",
...
y_unit:[
{key:"managers", label:"Administration", children: [
{key:1, label:"James Smith"},
{key:2, label:"John Williams"}
]},
{key:"accounts", label:"Accounting Department", children: [
{key:3, label:"David Miller"},
{key:4, label:"Linda Brown"}
]},
{key:"sales", label:"Sales and Marketing"},
{key:"production", label:"Production Department"}
]
});
...
scheduler.closeSection("managers");
이 기능은 PRO 에디션에서만 제공됩니다.
이 메서드를 사용하려면 treetimeline 플러그인이 활성화되어 있어야 합니다.
활성 뷰가 'Tree' 모드의 Timeline이 아니면, 이 메서드는 아무런 효과가 없습니다.