fires before the user starts to resize the row height by drag-and-drop
task | Task | the task object |
boolean | defines whether the default action of the event will be triggered (true) or canceled (false) |
gantt.attachEvent("onBeforeRowResize", function (task) {
gantt.message(`Start resizing <b>${task.text}</b>`);
return true;
});
The event is blockable. Returning false will prevent the row height from being resized.
added in v7.1
Back to top