beforeEditEnd
fires before editing of an item is ended
beforeEditEnd: (value: string, id: string | number) => void | boolean;
Parameters:
value: string
- the value of an itemid: 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. Events
Change log:
added in v6.1