Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / GridGroupPanelProps

Interface: GridGroupPanelProps<TRow>

Type Parameters

TRow

TRow = GridRowData

Properties

columns

columns: ColumnRuntime<TRow>[]

Columns offered for grouping (groupable and visible).


emptyText?

optional emptyText?: string


levels

levels: readonly string[]

Active grouping levels, outermost first.


maxLevels?

optional maxLevels?: number

Maximum number of levels the current edition allows. Default 1.


onCollapseAll?

optional onCollapseAll?: () => void

Returns

void


onExpandAll?

optional onExpandAll?: () => void

Returns

void


onSetLevels

onSetLevels: (levels) => void

Parameters

levels

string[]

Returns

void