itemRightClick
fires on right-clicking a tree item
itemRightClick: (id: string | number, e: Event) => void;
Parameters:
id: string | number
- the id of an iteme: Event
- a native event object
Example
tree.events.on("itemRightClick", function(id, e){
console.log("The item with the id "+ id +" was right-clicked.");
});
Related sample: Tree. Events
Change log:
added in v6.3