Skip to main content

itemRightClick

fires on right-clicking a tree item

itemRightClick: (id: Id, e: Event) => void;

Parameters:

  • id: string | number - the id of an item
  • e: 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