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;
});
Related samples
Details
이 이벤트는 차단할 수 있습니다. false를 반환하면 그리드 크기 조정이 방지됩니다.
Related API
Related Guides
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.