Skip to main content

beforeEditEnd

fires before editing of a cell is completed

beforeEditEnd: (value: string | number | boolean, row: object, column: object) => boolean | void;

Parameters:

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

  • value: string | number | boolean - the new value of a cell
  • row: object - an object with a row configuration
  • column: object - an object with a column configuration

Returns:

Return false to prevent closing of an editor; otherwise, true.

Example

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

Related sample: Grid. Events

Change log:

added in v6.1