Documentation

@kanunilabs/datagrid


@kanunilabs/datagrid / HeaderMenuDeps

Interface: HeaderMenuDeps<TRow>

Type Parameters

TRow

TRow = GridRowData

Properties

controller

controller: DataGridController<TRow>


footerVisible

footerVisible: boolean


groupPanelVisible

groupPanelVisible: boolean

Current UI switches the menu toggles operate on.


maxGroupLevels

maxGroupLevels: number

Grouping levels allowed — 1 in Community, the React rule.


onBestFit

onBestFit: (columnId) => void

Parameters

columnId

string

Returns

void


onBestFitAll

onBestFitAll: () => void

Returns

void


onOpenFieldChooser

onOpenFieldChooser: () => void

Returns

void


onToggleFooter

onToggleFooter: () => void

Returns

void


onToggleGroupPanel

onToggleGroupPanel: () => void

Returns

void


t

t: GridDictionary