beforeEditEnd
fires before editing of a cell is ended
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 cellrow: object
- an object with a row configurationcolumn: 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;
});
Change log:
added in v6.1