fires when the user is dragging the border of the row to resize the row height
id | string|number | the task id |
item | object | the task object |
currentHeight | number | the current height of the row |
gantt.attachEvent("onRowResize", function (id, item, currentHeight) {
if (!message) {
message = gantt.message({
expire: -1,
text: `<b>${item.text}</b> is now <b id='height_placeholder'></b>
<b>px</b> height`
});
}
document.getElementById("height_placeholder").innerText = currentHeight;
});
added in v7.1
Back to top