Skip to main content


fires before editing of an item has started

beforeEditStart: (value: string, id: Id) => boolean | void;


  • value: string - the value of an item
  • id: string | number - the id of an item


Return false to block editing of an item; otherwise, true.

Example"BeforeEditStart", function(value, id) {    // your logic here    return false;});

Related sample: Tree. Events

Change log:

added in v7.0