@kanunilabs/datagrid-react-enterprise
@kanunilabs/datagrid-react-enterprise / SideBarOptions
Interface: SideBarOptions<TRow>
Type Parameters
TRow
TRow = GridRowData
Properties
defaultOpen?
optionaldefaultOpen?:string|null
Tab open on mount. Default: closed — a strip, not a 240px land grab.
onOpenChange?
optionalonOpenChange?: (id) =>void
The user opened a tab (its id) or closed the bar (null).
Parameters
id
string | null
Returns
void
open?
optionalopen?:string|null
The open tab, from the app (null = closed). With it, the bar follows
this value and reports the user's clicks through onOpenChange.
panels?
optionalpanels?:SideBarPanelEntry<TRow>[]
Which tabs to offer, in this order — built-in names and the app's own panels. Default: columns, filters.