TIWCGJQTreeViewContextMenuPlugin.ShowContextMenu(string,Integer,Integer) Method

Shows the contextmenu next to a node. Triggered automatically when right-clicking a node.

Namespace: IWCGJQTreeView
public
 procedure ShowContextMenu(ANode: string; X,Y: Integer);

Parameters

ANode
Type: string

This can be a DOM node, jQuery node or selector pointing to an element within the tree.

X
Type: Integer

The X-coordinate to show the menu at - may be overwritten by show_at_node. If you omit this the menu is shown aligned with the left of the node.

Y
Type: Integer

The Y-coordinate to show the menu at - may be overwritten by show_at_node. If you omit this the menu is shown just below the node.