본문으로 건너뛰기

onBeforeExpand

Description

gantt가 전체 화면으로 확장되기 전에 발생합니다

onBeforeExpand: () => boolean;

Returns

  • result - (boolean) - 기본 동작이 트리거될지 여부를 정의합니다 (true) 또는 취소될지 여부를 결정합니다 (false)

Example

gantt.attachEvent("onBeforeExpand",function(){
// 여기에 코드 작성
return true;
});

Details

이벤트는 차단 가능(blockable)합니다. false를 반환하면 추가 처리가 더 이상 진행되지 않습니다.

노트

이벤트는 fullscreen 확장에 정의되어 있으므로 fullscreen 플러그인을 gantt.plugins 메서드를 사용하여 활성화해야 합니다. 전체 화면 모드에 대한 자세한 내용은 Full Screen Mode 문서를 참조하십시오.

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.