onAfterRowResize
Description
Fires after resizing of the row height is finished
onAfterRowResize: (id: string | number, task: Task, oldHeight: number, newHeight: number) => void;
Parameters
id- (required) string | number - the task idtask- (required) Task - the item objectoldHeight- (required) number - the old height of the rownewHeight- (required) number - the new height of the row
Example
gantt.attachEvent("onAfterRowResize", function (id, task, oldHeight, newHeight) {
gantt.message(`<b>${item.text}</b> was <b>${oldHeight}px</b> height.<br/>
<b>${item.text}</b> is now <b>${newHeight}px</b> height`);
});
Related samples
Related API
Change log
- added in v7.1