Skip to main content

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 configuration
  • column: 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", (row, column, editorType) => {
// your logic here
return false;
});

Related sample: Grid. Events

Change log:

added in v6.1