addPopupMenu(eid, item, items)

Adds a popup menu for an element. The menu is popped when a menu trigger mouse button is pushed inside the element (item). When a popup menu is added to an element, the action to be performed should also be specified. The actions are specified using addMenuAction() function.

Parameter

eid element ID

item row/column specifier, a

inetsoft.report.event.EventPoint object

items an array of menu item strings

Example

replet.addPopupMenu("Table1",

   new inetsoft.report.event.EventPoint(0, -1), ["Sort"]);

<< addStatus(eid, item, message) © 1996-2013 InetSoft Technology Corporation (v11.5) addMenuAction(eid, item, menuitem, action) >>