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;
});
Related sample: Dataview. Events
Change log:
added in v6.1