Skip to main content

beforeEditStart

fires before editing of a cell has started

beforeEditStart: (row: IRow, col: ICol, editorType: EditorType) => 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"

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