onAfterRowResize

fires after resizing of the row height is finished

void onAfterRowResize(string|number id,Task task,number oldHeight,number newHeight);
idstring|numberthe task id
taskTaskthe item object
oldHeightnumberthe old height of the row
newHeightnumberthe new height of the row

Example

gantt.attachEvent("onAfterRowResize", function (id, task, oldHeight, newHeight) {
    gantt.message(`<b>${item.text}</b> was <b>${oldHeight}px</b> height.<br>
    <b>${item.text}</b> is now <b>${newHeight}px</b> height`);
});

Related samples

See also
Change log

added in v7.1

Back to top