interface GridColumnGroup {
    children: GridColumnNode[];
    description?: string;
    freeReordering?: boolean;
    groupId: string;
    headerAlign?: GridAlignment;
    headerClassName?: GridColumnGroupHeaderClassNamePropType;
    headerName?: string;
    renderHeaderGroup?: ((params: GridColumnGroupHeaderParams) => ReactNode);
}

Hierarchy

  • Pick<GridColDef, "headerName" | "description" | "headerAlign">
    • GridColumnGroup

Properties

children: GridColumnNode[]

The groups and columns included in this group.

description?: string

The tooltip text shown when the column header name is truncated.

freeReordering?: boolean

If true, allows reordering columns outside of the group.

false
groupId: string

A unique string identifying the group.

headerAlign?: GridAlignment

Align column header content.

Class name that will be added in the column group header cell.

headerName?: string

The title displayed in the column header cell.

renderHeaderGroup?: ((params: GridColumnGroupHeaderParams) => ReactNode)

Allows to render a component in the column group header cell.

Type declaration

    • (params): ReactNode
    • Parameters

      Returns ReactNode

      The element to be rendered.