ContextMenu: PP.Ui.Menu
The ContextMenu property sets context menu for the table.
Use the setContextMenu method to set value of the ContextMenu property, and the getContextMenu method to get this value. Property value cannot be set from JSON
Executing the example requires that the HTML page contains the EaxGrid component named eaxGrid (see Example of creating the EaxGrid component). Then set a context menu for the table:
// Create a simple menu var menu = new PP.Ui.Menu({ ParentNode: null, ShowIcons: True, }); // Add a menu item menu.addItem(new PP.Ui.MenuItem({ ResourceKey: "eStatistics", Data: PP.Exp.Ui.GridDefaultCMenu.Statistics })); // Set context menu for table eaxGrid.setContextMenu(menu);
A context menu is set for the table as the result of example execution.
See also: