Skip to main content

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 configuration
  • col: object - an object with a column configuration
  • editorType: 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;
});

Related sample: Grid. Events

Change log:

added in v6.1