onBeforeRowResizeEnd

fires before resizing of the row height is completed

boolean onBeforeRowResizeEnd(number|string id,Task task,number newHeight);
idnumber|stringthe task id
taskTaskthe task object
newHeightnumberthe new height of the row
booleandefines whether the default action of the event will be triggered (true) or canceled (false)

Example

gantt.attachEvent("onBeforeRowResizeEnd", function (id, task, newHeight) {
    gantt.message(`<b>${task.text}</b> is now <b>${newHeight}px</b> height`);
    return true;
});

Related samples

See also
Change log

added in v7.1

Back to top