Skip to main content

beforeEditEnd

fires before editing of a cell is completed

beforeEditEnd: (value: string | number | boolean, row: IRow, col: ICol) => boolean | void;

Parameters:

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

Returns:

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

Example

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

Related sample: Grid. Events

Change log:

added in v6.1