beforeEditStart
fires before editing of a cell has started
beforeEditStart: (row: object, column: object, editorType: string) => boolean | void;
Parameters:
The callback of the event is called with the following parameters:
row: object
- an object with a row configurationcolumn: object
- an object with a column configurationeditorType: string
- the type of a cell editor: "input", "select", "datePicker", "checkbox", "combobox", "textarea", "multiselect"
Returns:
Return false
to block editing of a cell; otherwise, true
.
Example
grid.events.on("beforeEditStart", (row, column, editorType) => {
// your logic here
return false;
});
Change log:
added in v6.1