fires before the user starts to drag the column's border to resize the column

boolean onColumnResizeStart(number index,object column);
indexnumberthe column index
columnobjectthe column object
booleandefines whether the default action of the event will be triggered (true) or canceled (false)

Available only in PRO Edition


// return false to discard the resize action
gantt.attachEvent("onColumnResizeStart", function(index, column){
    gantt.message("Start resizing " + gantt.locale.labels["column_"+column.name]);
    return true;

Related samples


This functionality is available in the PRO edition only.

The event is blockable. Returning false won't allow column resizing.

See also
Back to top