본문으로 건너뛰기

onBeforeRowResizeEnd

Description

행 높이의 크기 조정이 완료되기 전에 발생합니다

onBeforeRowResizeEnd: (id: number | string, task: Task, newHeight: number) => boolean;

Parameters

  • id - (필수) number | string - 작업 ID
  • task - (필수) Task - 작업 객체
  • newHeight - (필수) number - 행의 새 높이

Returns

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

Example

gantt.attachEvent("onBeforeRowResizeEnd", function (id, task, newHeight) {
gantt.message(`<b>${task.text}</b> is now <b>${newHeight}px</b> height`);
return true;
});

Change log

  • v7.1에 추가됨
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.