fires after resizing of the row height is finished

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


gantt.attachEvent("onAfterRowResize", function (id, item, 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