onBeforeRowResizeEnd

fires before resizing of the row height is completed

void onBeforeRowResizeEnd(number|string id,object item,number newHeight){ ... };

Parameters

idnumber|stringthe task id
itemobjectthe task object
newHeightnumberthe new height of the row

Example

gantt.attachEvent("onBeforeRowResizeEnd", function (id, item, newHeight) {
    gantt.message.hide(message);
    message = null;
    gantt.message("<b>" + item.text + "</b> is now <b>" + newHeight +"px</b> height");
    return true;
});

Related samples

See also
Change log

added in v7.1

Back to top