Skip to main content

beforeEditEnd

fires before editing of an item is completed

beforeEditEnd: (value: string, id: string | number) => boolean | void;

Parameters:

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

Returns:

Return false to prevent closing of an editor; otherwise, true.

Example

dataview.events.on("BeforeEditEnd", function(value,id){    // your logic here    return false;});

Change log:

added in v6.1