onBeforeRowResizeEnd
Description
Fires before resizing of the row height is completed
onBeforeRowResizeEnd: (id: number | string, task: Task, newHeight: number) => boolean;
Parameters
id- (required) number | string - the task idtask- (required) Task - the task objectnewHeight- (required) number - the new height of the row
Returns
result- (boolean) - defines 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
Related API
Change log
- added in v7.1