본문으로 건너뛰기

onGridResizeStart

정보

이 기능은 PRO 에디션에서만 사용할 수 있습니다.

Description

사용자가 그리드의 경계선을 드래그하여 그리드의 크기를 조정하기 시작하기 전에 발생합니다

onGridResizeStart: (old_width: number) => boolean;

Parameters

  • old_width - (required) number - 초기 그리드 너비

Returns

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

Example

// 리사이즈 동작을 취소하려면 false 반환
gantt.attachEvent("onGridResizeStart", function(old_width){
gantt.message("Start grid resizing");
return true;
});

Details

이벤트는 차단될 수 있습니다. false를 반환하면 그리드 크기 조정이 허용되지 않습니다.

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.