# ContextMenuParams

> _Since v0.1.1_

Parameters passed to context menu callbacks.
Provides context about what element triggered the menu.

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `row` | <code>unknown</code> | The row data object (null for header clicks) |
| `rowIndex` | <code>number</code> | The row index (-1 for header clicks) |
| `column` | <code>unknown</code> | The column configuration |
| `columnIndex` | <code>number</code> | The column index |
| `field` | <code>string</code> | The field name of the column |
| `value` | <code>unknown</code> | The cell value (null for header clicks) |
| `isHeader` | <code>boolean</code> | Whether the context menu was triggered on a header |
| `event` | <code>MouseEvent &#124; KeyboardEvent</code> | The original mouse or keyboard event |
| `selectedRows` | <code>number[]</code> | The currently selected row indices (sorted ascending). Populated when the SelectionPlugin is active in row mode. If the right-clicked row was not part of a multi-selection, this contains only the right-clicked row index. |
