当用户拖动行边界以更改其高度时触发
id | string|number | 任务的ID |
task | Task | 任务对象 |
currentHeight | number | 当前行的高度 |
gantt.attachEvent("onRowResize", function (id, task, currentHeight) {
gantt.message({
expire: -1,
text: `<b>${task.text}</b> 现在高度为 <b>${currentHeight}px</b>`
});
});
在v7.1版本中添加
Back to top