Skip to main content

beforeEditEnd

fires before editing of a cell is ended

beforeEditEnd: (value: string | number | boolean, row: object, col: object) => 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;
});

Change log:

added in v6.1