Skip to main content

afterRowResize

fires after the height of a row is changed

afterRowResize: (row: object, event: Event, currentHeight: number) => void;

Parameters:

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

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

Example

treegrid.events.on("afterRowResize", (row, event, currentHeight) => {
console.log("Current row height:", currentHeight);
});

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