Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / GridGroupPanelProps

Interface: GridGroupPanelProps<TRow>

Defined in: datagrid-react/src/components/GridGroupPanel.tsx:26

Type Parameters

TRow

TRow = GridRowData

Properties

columns

columns: ColumnRuntime<TRow>[]

Defined in: datagrid-react/src/components/GridGroupPanel.tsx:28

Columns offered for grouping (groupable and visible).


emptyText?

optional emptyText?: string

Defined in: datagrid-react/src/components/GridGroupPanel.tsx:36


levels

levels: readonly string[]

Defined in: datagrid-react/src/components/GridGroupPanel.tsx:30

Active grouping levels, outermost first.


maxLevels?

optional maxLevels?: number

Defined in: datagrid-react/src/components/GridGroupPanel.tsx:33

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


onCollapseAll?

optional onCollapseAll?: () => void

Defined in: datagrid-react/src/components/GridGroupPanel.tsx:35

Returns

void


onExpandAll?

optional onExpandAll?: () => void

Defined in: datagrid-react/src/components/GridGroupPanel.tsx:34

Returns

void


onSetLevels

onSetLevels: (levels) => void

Defined in: datagrid-react/src/components/GridGroupPanel.tsx:31

Parameters

levels

string[]

Returns

void