
A mix of built in items and custom items are used.Context Menu Exampleīelow shows a configured context menu in action demonstrating a customised menu with a mix of custom items. Hide the context menu with the grid API hidePopupMenu(), which will hide either the context menu or the Column Menu, whichever is showing. If you always want the grid's context menu, even when Ctrl is pressed, then set allowContextMenuWithControlKey=true. If you want the grid to do nothing (and hence allow the browser to display its context menu) then hold down the Ctrl key while clicking for the context menu. One drawback of using the AG Grid context menu is that you may want to show the browser's context menu when debugging, for example in order to access your browser's dev tools. Only shown if charting is enabled and in Pivot Mode. pivotChart: Chart all grouped and pivoted data from the grid.chartRange: Chart a range of selected cells.excelExport: Export to Excel (.xlsx) using all default export values.

csvExport: Export to CSV using all default export values.export: Export sub menu (containing csvExport and excelExport).paste: Always disabled (see note in clipboard section).cut: Cut the selected value to clipboard.copyWithGroupHeaders: Copy selected value to clipboard with headers and header groups.copyWithHeaders: Copy selected value to clipboard with headers.copy: Copy selected value to clipboard.When set, it's only shown if grouping by at least one column.


The 'paste' operation in the context menu is not possible and hence always disabled.
