beforeEditStart
fires before editing of a cell has started
beforeEditStart: (row: object, col: object, editorType: string) => boolean | void;
Parameters:
row: object
- an object with a row configurationcol: 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", function(row,col,editorType){
// your logic here
return false;
});
Change log:
added in v6.1