在行高度调整完成后触发
id | string|number | 任务的ID |
task | Task | 任务对象 |
oldHeight | number | 调整前的行高度 |
newHeight | number | 调整后的行高度 |
gantt.attachEvent("onAfterRowResize", function (id, task, oldHeight, newHeight) {
gantt.message(`<b>${item.text}</b> 的高度原为 <b>${oldHeight}px</b>。<br>
<b>${item.text}</b> 现在的高度是 <b>${newHeight}px</b>`);
});
在 v7.1 版本中添加
Back to top