beforeEditEnd
fires before editing of a tree item is finished
beforeEditEnd: (value: string, id: string | number) => boolean | void;
Parameters:
value: string
- the value of an itemid: string | number
- the id of an item
Returns:
Return false
to block closing of an editor; otherwise, true
.
Example
tree.events.on("beforeEditEnd", function(value, id) {
// your logic here
return false;
});
Related sample: Tree. Events
Change log:
added in v7.0