Documentation

@kanunilabs/datagrid-enterprise


@kanunilabs/datagrid-enterprise / SideBarOptions

Interface: SideBarOptions<TRow>

Type Parameters

TRow

TRow = GridRowData

Properties

defaultOpen?

optional defaultOpen?: string | null

Tab open on mount. Default: closed — a strip, not a 240px land grab.


onOpenChange?

optional onOpenChange?: (id) => void

The user opened a tab (its id) or closed the bar (null).

Parameters

id

string | null

Returns

void


panels?

optional panels?: SideBarPanelEntry<TRow>[]

Which tabs to offer, in this order — built-in names and the app's own panels. Default: columns, filters.