How can I help you?
Context menu in React Spreadsheet component
18 Mar 20264 minutes to read
Context Menu is used to improve user interaction with Spreadsheet using the popup menu. This will open when right-clicking on Cell/Column Header/Row Header/ Pager in the Spreadsheet. You can use enableContextMenu property to enable/disable context menu.
The default value for the
enableContextMenuproperty istrue.
Context Menu Items in Row Cell
Please find the table below for default context menu items and their actions.
| Context Menu items | Action |
|---|---|
Cut |
Cut the selected cells data to the clipboard, you can select a cell where you want to move the data. |
Copy |
Copy the selected cells data to the clipboard, so that you can paste it to somewhere else. |
Paste |
Paste the data from clipboard to spreadsheet. |
Paste Special |
Values - Paste the data values from clipboard to spreadsheet. Formats - Paste the data formats from clipboard to spreadsheet. |
Filter |
Perform filtering to the selected cells based on an active cell’s value. |
Sort |
Perform sorting to the selected range of cells by ascending or descending. |
Hyperlink |
Create a link in the spreadsheet to navigate to web links or cell reference within the sheet or other sheets in the Spreadsheet. |
Context Menu Items in Row Header / Column Header
Please find the table below for default context menu items and their actions.
| Context Menu items | Action |
|---|---|
Cut |
Cut the selected row/column header data to the clipboard, you can select a cell where you want to move the data. |
Copy |
Copy the selected row/column header data to the clipboard, so that you can paste it to somewhere else. |
Paste |
Paste the data from clipboard to spreadsheet. |
Paste Special |
Values - Paste the data values from clipboard to spreadsheet. Formats - Paste the data formats from clipboard to spreadsheet. |
Insert Rows / Insert Columns
|
Insert new rows or columns into the worksheet. |
Delete Rows / Delete Columns
|
Delete existing rows or columns from the worksheet. |
Hide Rows / Hide Columns
|
Hide the rows or columns. |
UnHide Rows / UnHide Columns
|
Show the hidden rows or columns. |
Context Menu Items in Pager
Please find the table below for default context menu items and their actions.
| Context Menu items | Action |
|---|---|
Insert |
Insert a new worksheet in front of an existing worksheet in the spreadsheet. |
Delete |
Delete the selected worksheet from the spreadsheet. |
Rename |
Rename the selected worksheet. |
Protect Sheet |
Prevent unwanted changes from others by limiting their ability to edit. |
Hide |
Hide the selected worksheet. |
Note
You can refer to our React Spreadsheet feature tour page for its groundbreaking feature representations. You can also explore our React Spreadsheet example to knows how to present and manipulate data.