beforeEditEnd
fires before editing of a cell is completed
beforeEditEnd: (value: string | number | boolean | Date, row: object, column: object) => boolean | void;
Parameters:
The callback of the event is called with the following parameters:
value: string | number | boolean | Date
- 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;
});
Related sample: Grid. Events
Change log:
- The value of a cell can have the Date type since v9.0
- Added in v6.1