The context menu is part of the grid, each menu option must implement the interface below.
Definition
interface MenuOption {
    id: string;
    label: string;
    handler: (selectedRowIds: Id[], selectedColIds: Id[], selectionMode: SelectionMode) => void;
}Properties
| Property name | Type | Property description | 
|---|---|---|
| id | string | Text that identifies each menu option | 
| label | string | Label displayed in menu | 
| handler | (selectedRowIds: Id[], selectedColIds: Id[], selectionMode: SelectionMode) => void | Function that is called when option is clicked |