Syncfusion.EJ2

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.
Syntax
[DefaultValue("")]
[HtmlAttributeName("contextMenuItems")]
[Newtonsoft.Json.JsonProperty("contextMenuItems")]
public object ContextMenuItems {get; set;}
[DefaultValue("")]
[HtmlAttributeName("contextMenuItems")]
[Newtonsoft.Json.JsonProperty("contextMenuItems")]
public:
property Object^ ContextMenuItems {
   Object^ get();
   void set (    Object^ value);
}
AssemblyVersion

Syncfusion.EJ2: 17.3500.0.26

See Also