Syncfusion.EJ2.Grids Namespace > Grid Class : ContextMenuItems Property

ContextMenuItems Property (Grid)

`contextMenuItems` defines both built-in and custom context menu items. The available built-in items are, `AutoFitAll` - Auto fit the size of all columns. `AutoFit` - Auto fit the current column. `Group` - Group by current column. `Ungroup` - Ungroup by current column. `Edit` - Edit the current record. `Delete` - Delete the current record. `Save` - Save the edited record. `Cancel` - Cancel the edited state. `Copy` - Copy the selected records. `PdfExport` - Export the grid as Pdf format. `ExcelExport` - Export the grid as Excel format. `CsvExport` - Export the grid as CSV format. `SortAscending` - Sort the current column in ascending order. `SortDescending` - Sort the current column in descending order. `FirstPage` - Go to the first page. `PrevPage` - Go to the previous page. `LastPage` - Go to the last page. `NextPage` - Go to the next page.

public object ContextMenuItems {get; set;}

property Object^ ContextMenuItems {
   Object^ get();
   void set (    Object^ value);

Syncfusion.EJ2: 18.2500.0.44

See Also