Documentation

@kanunilabs/datagrid


@kanunilabs/datagrid / CellMenuOptions

Interface: CellMenuOptions

Defined in: datagrid/src/createGrid.ts:201

Which built-in entries the cell menu offers — the React CellMenuOptions.

The vanilla menu used to be a boolean that always drew exactly two entries (Copy, Copy with headers), so an app passing this object got the two defaults and silently lost the rest (audit J3, 2026-08-25).

Properties

copy?

optional copy?: boolean

Defined in: datagrid/src/createGrid.ts:203

Copy the selected cells, or the selected rows when there is no range.


copyWithGroupHeaders?

optional copyWithGroupHeaders?: boolean

Defined in: datagrid/src/createGrid.ts:210

Copy with the BAND caption rows above the header line. Hidden on a grid with no bands, where it would produce exactly copyWithHeaders.


copyWithHeaders?

optional copyWithHeaders?: boolean

Defined in: datagrid/src/createGrid.ts:205

Copy with a column-header line above the values.


export?

optional export?: boolean | ExportKind[]

Defined in: datagrid/src/createGrid.ts:216

Export submenu. true offers every format the grid can write; an array picks which, in the order given. Excel and PDF ride on optional peers, so a click can fail — the failure is SAID, naming the missing package.