ContextMenuParams
Parameters passed to context menu callbacks. Provides context about what element triggered the menu.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
row | unknown | The row data object (null for header clicks) |
rowIndex | number | The row index (-1 for header clicks) |
column | unknown | The column configuration |
columnIndex | number | The column index |
field | string | The field name of the column |
value | unknown | The cell value (null for header clicks) |
isHeader | boolean | Whether the context menu was triggered on a header |
event | MouseEvent | KeyboardEvent | The original mouse or keyboard event |
selectedRows | number[] | 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. |
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt