Skip to main content

beforeEditEnd

fires before editing of an item is ended

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

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

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

Related sample: List. List Events

Change log:

added in v6.1