在行高度调整过程完成之前触发
id | number|string | 任务标识符 |
task | Task | 任务对象本身 |
newHeight | number | 更新后的行高度 |
boolean | 指示是否继续执行默认事件操作(true)或停止(false) |
gantt.attachEvent("onBeforeRowResizeEnd", function (id, task, newHeight) {
gantt.message(`<b>${task.text}</b> 当前高度为 <b>${newHeight}px</b>`);
return true;
});
在 v7.1 版本引入
Back to top