본문으로 건너뛰기

onRowResize

Description

사용자가 행의 경계선을 드래그하여 행 높이를 조정할 때 발생합니다

onRowResize: (id: string | number, task: Task, currentHeight: number) => void;

Parameters

  • id - (required) string | number - 작업 ID
  • task - (required) Task - 태스크 객체
  • currentHeight - (required) number - 행의 현재 높이

Example

gantt.attachEvent("onRowResize", function (id, task, currentHeight) {
gantt.message({
expire: -1,
text: `<b>${task.text}</b> is now <b>${currentHeight}px</b> height`
});
});

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.