Skip to main content

beforeResizeStart

fires before resizing of a column has started

beforeResizeStart: (column: object, event: MouseEvent) => boolean | void;

Parameters:

The callback of the event is called with the following parameters:

  • column: object - an object with a column configuration
  • event: MouseEvent - a native HTML event object

Returns:

Return false to block resizing of a column; otherwise, true.

Example

grid.events.on("beforeResizeStart", (column, event) => {
// your logic here
return false;
});

Related sample: Grid. Events

Change log:

added in v6.2