onRowResize
Description
사용자가 행 경계를 드래그하여 높이를 변경할 때 발생합니다.
onRowResize: (id: string | number, task: Task, currentHeight: number) => void;
Parameters
id- (required) string | number - 작업 IDtask- (required) Task - 작업 객체currentHeight- (required) number - 현재 행의 높이
Example
gantt.attachEvent("onRowResize", function (id, task, currentHeight) {
gantt.message({
expire: -1,
text: `<b>${task.text}</b> 의 높이가 <b>${currentHeight}px</b> 로 변경되었습니다`
});
});
Related samples
Related API
Change log
- v7.1에 추가됨