|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: Context Menu in Blazor Spreadsheet component | Syncfusion |
| 4 | +description: Checkout and learn here about the context menu functionality in the Syncfusion Blazor Spreadsheet component and more. |
| 5 | +platform: Blazor |
| 6 | +control: Spreadsheet |
| 7 | +documentation: ug |
| 8 | +--- |
| 9 | + |
| 10 | +# Context Menu in Blazor Spreadsheet component |
| 11 | + |
| 12 | +The context menu is used to improve user interaction with the Spreadsheet component using the built-in popup menu. It opens when right-clicking on a cell, column header, row header, or sheet tab in the Spreadsheet. The [EnableContextMenu](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Spreadsheet.SfSpreadsheet.html#Syncfusion_Blazor_Spreadsheet_SfSpreadsheet_EnableContextMenu) property can be used to enable/disable the context menu. |
| 13 | + |
| 14 | +> The default value for the `EnableContextMenu` property is **true**. |
| 15 | +
|
| 16 | +## Cell context menu options |
| 17 | + |
| 18 | +Please find the table below for the default context menu options and their actions. |
| 19 | + |
| 20 | +| Options | Action | |
| 21 | +| -- | -- | |
| 22 | +| Cut | Cut the selected cells data to the clipboard. The data can be pasted into a different cell location. | |
| 23 | +| Copy | Copy the selected cells data to the clipboard for pasting elsewhere. | |
| 24 | +| Paste | Paste the data from clipboard to Spreadsheet. | |
| 25 | +| Hyperlink | Create a link in the Spreadsheet to navigate to web links or cell reference within the sheet or other sheets in the Spreadsheet. | |
| 26 | +| Sort | Perform sorting to the selected range of cells by ascending or descending. | |
| 27 | +| Clear Contents | Remove the selected cells data. | |
| 28 | +| Filter | Perform filtering to the selected cells based on an active cells value. | |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +## Row and column header context menu options |
| 33 | + |
| 34 | +Please find the table below for the default context menu options and their actions. |
| 35 | + |
| 36 | +| Options | Action | |
| 37 | +| -- | -- | |
| 38 | +| Cut | Cut the selected row/column header data to the clipboard. The data can be pasted into a different cell location. | |
| 39 | +| Copy | Copy the selected row/column header data to the clipboard for pasting elsewhere. | |
| 40 | +| Paste | Paste the data from the clipboard to Spreadsheet. | |
| 41 | +| Insert Rows / Insert Columns | Insert new rows or columns into the worksheet. | |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | +## Sheet tab context menu options |
| 48 | + |
| 49 | +Please find the table below for the default context menu options and their actions. |
| 50 | + |
| 51 | +| Options | Action | |
| 52 | +| -- | -- | |
| 53 | +| Insert | Insert a new worksheet after the existing worksheet in the Spreadsheet. | |
| 54 | +| Delete | Delete the selected worksheet from the Spreadsheet. | |
| 55 | +| Duplicate | Create a copy of the selected worksheet in the Spreadsheet. | |
| 56 | +| Rename | Rename the selected worksheet. | |
| 57 | +| Protect Sheet / Unprotect Sheet | Protect sheet prevents unwanted changes from others by limiting their ability to edit. Unprotect sheet removes these restrictions. | |
| 58 | +| Move Right | Move the selected worksheet to the right of the next sheet. | |
| 59 | +| Move Left | Move the selected worksheet to the left of the previous sheet. | |
| 60 | +| Hide | Hide the selected worksheet. | |
| 61 | + |
| 62 | + |
0 commit comments