onBeforeRowResize

fires before the user starts to resize the row height by drag-and-drop

boolean onBeforeRowResize(object item);
itemobjectthe task object
booleandefines whether the default action of the event will be triggered (true) or canceled (false)

Example

gantt.attachEvent("onBeforeRowResize", function (item) {
    gantt.message(`Start resizing <b>${item.text}</b>`);
    return true;
});

Related samples

Details

The event is blockable. Returning false will prevent the row height from being resized.

See also
Change log

added in v7.1

Back to top