onBeforeRowResize

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

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

Example

gantt.attachEvent("onBeforeRowResize", function (task) {
    gantt.message(`Start resizing <b>${task.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