Object passed as parameter in the column group header renderer.

interface GridColumnGroupHeaderParams {
    colIndex: number;
    depth: number;
    description?: string;
    fields: string[];
    groupId: null | string;
    headerName?: string;
    isLastColumn: boolean;
    maxDepth: number;
}

Hierarchy

  • Pick<GridColumnGroup, "headerName" | "description">
    • GridColumnGroupHeaderParams

Properties

colIndex: number

The column index (0 based).

depth: number

The number parent the group have.

description?: string

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

fields: string[]

The column fields included in the group (including nested ones).

groupId: null | string

A unique string identifying the group.

headerName?: string

The title displayed in the column header cell.

isLastColumn: boolean

Indicate if the group is the last one for the given depth.

maxDepth: number

The maximal depth among visible columns.