onAfterFolderToggle

타임라인 뷰의 'tree' 모드에서 트리 분기가 열리거나 닫힌 직후에 트리거됩니다.

void onAfterFolderToggle(object| boolean section,boolean isOpen,boolean allSections);
sectionobject| boolean토글된 분기(branch)의 구성 객체입니다.
closeAllSections()/openAllSections() 메서드를 사용하여 모든 분기가 동시에 열리거나 닫힌 경우에는 true가 됩니다.
isOpenboolean분기가 열렸는지(true) 닫혔는지(false)를 나타냅니다.
allSectionsbooleancloseAllSections()/openAllSections() 메서드로 모든 트리 분기가 한 번에 토글된 경우 true, 단일 분기만 토글된 경우 false입니다.

Available only in PRO Edition

Example

scheduler.attachEvent("onAfterFolderToggle", function(section, isOpen, allSections){
    //여기에 사용자 정의 로직을 작성하세요
});

See also
맨 위로