onColumnResizeStart

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

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

Available only in PRO Edition

Example

// 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

Details

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