Skip to main content


Pro version only

This functionality requires PRO version of the DHTMLX Grid (or DHTMLX Suite) package.

fires before the height of a row is changed

beforeRowResize: (row: object, events: Event, currentHeight: number) => boolean | void;


  • row: object - an object with a row configuration
  • events: Event - a native event object
  • currentHeight: number - the current height of the row


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

Example"beforeRowResize", function(row, events, currentHeight) {
console.log("Current row height:", currentHeight);
return true;

To be able to change the height of the row, you should specify the autoHeight:true and editable:true options in the configuration of Grid.

Change log:

added in v7.1