MenuContext

Provides full details about current Menu; used for both Column and Context Menus

TypeScript
export interface MenuContext

Properties

PropertyDescription
adaptableApiThe Adaptable Api - included as a convenience
adaptableColumnCurrent Adaptable Column
gridCellCell that has been clicked; contains cell value
isGroupedNodeWhether current row node is grouped
isRowGroupColumnWhether current Column is Row Group
isSelectedCellWhether cell that was clicked is also currently selected
isSingleSelectedColumnWhether Column that was clicked is only column with selected cells
primaryKeyValueValue of Primary Key column in current row
rowNodeCurrent AG Grid row node
selectedCellInfoCurrently selected cells in the grid
selectedRowInfoCurrently selected rows in the grid
vendorColumnCurrent Vendor Grid Column

Property Details

adaptableApi

The Adaptable Api - included as a convenience

TypeScript
adaptableApi: AdaptableApi;
Property Value

AdaptableApi

adaptableColumn

Current Adaptable Column

TypeScript
adaptableColumn: AdaptableColumn;
Property Value

AdaptableColumn

gridCell

Cell that has been clicked; contains cell value

TypeScript
gridCell: GridCell;
Property Value

GridCell

isGroupedNode

Whether current row node is grouped

TypeScript
isGroupedNode: boolean;
Property Value

boolean

isRowGroupColumn

Whether current Column is Row Group

TypeScript
isRowGroupColumn: boolean;
Property Value

boolean

isSelectedCell

Whether cell that was clicked is also currently selected

TypeScript
isSelectedCell: boolean;
Property Value

boolean

isSingleSelectedColumn

Whether Column that was clicked is only column with selected cells

TypeScript
isSingleSelectedColumn: boolean;
Property Value

boolean

primaryKeyValue

Value of Primary Key column in current row

TypeScript
primaryKeyValue: any;
Property Value

any

rowNode

Current AG Grid row node

TypeScript
rowNode: RowNode;
Property Value

RowNode

selectedCellInfo

Currently selected cells in the grid

TypeScript
selectedCellInfo: SelectedCellInfo;
Property Value

SelectedCellInfo

selectedRowInfo

Currently selected rows in the grid

TypeScript
selectedRowInfo: SelectedRowInfo;
Property Value

SelectedRowInfo

vendorColumn

Current Vendor Grid Column

TypeScript
vendorColumn: Column;
Property Value

Column