SpreadsheetContextMenuEvent
Provides the event data for the Spreadsheet contextMenu event.
| Name | Type | Default | Description |
|---|---|---|---|
items |
|
The context menu items for the current selection. | |
range |
|
The Spreadsheet Range object representing the currently selected cells. Provides methods to apply values, formatting, and styling to the Spreadsheet cells using the original event's data. | |
rect |
|
Represents the Rectangle object that provides position and dimension information about the active range, useful for custom positioning logic. | |
spreadsheet |
|
The Spreadsheet component instance. | |
targetType |
|
The type of target that opens the context menu. | |
view |
|
The current Spreadsheet View instance, giving access to the broader Spreadsheet context. |
Methods
isDefaultPrevented | ||||
|---|---|---|---|---|
|
Returns | ||||
|
preventDefault |
|---|
|
Prevents the default action for the event. The source component suppresses the built-in behavior that follows the event. |