onRowResize

사용자가 행 경계를 드래그하여 높이를 변경할 때 발생합니다.

void onRowResize(string|number id,Task task,number currentHeight);
idstring|number작업 ID
taskTask작업 객체
currentHeightnumber현재 행의 높이

Example

gantt.attachEvent("onRowResize", function (id, task, currentHeight) {
    gantt.message({
        expire: -1,
        text: `<b>${task.text}</b> 의 높이가 <b>${currentHeight}px</b> 로 변경되었습니다`
    });
});

Related samples

See also
Change log

v7.1에 추가됨

Back to top