Documentation

@kanunilabs/datagrid


@kanunilabs/datagrid / CellMenuOptions

Interface: CellMenuOptions

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

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


copyWithGroupHeaders?

optional copyWithGroupHeaders?: boolean

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

Copy with a column-header line above the values.


export?

optional export?: boolean | ExportKind[]

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.