Skip to main content

beforeEditStart

fires before editing of an item has started

beforeEditStart: (id: string | number) => void | boolean;

Parameters:

id: string | number - the id of an item

Returns:

Return false to block item editing; otherwise, true.

Example

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

Change log:

added in v6.1