IgcPivotDimension

Configuration of a pivot dimension.

Optional childLevel

Section titled "childLevel"

Allows defining a hierarchy when multiple sub groups need to be extracted from single member.

childLevel?: IgcPivotDimension

Optional dataType

Section titled "dataType"

The dataType of the related data field.

dataType?: GridColumnDataType

Optional displayName

Section titled "displayName"

Display name to show instead of the field name of this value. *

displayName?: string

A predefined or defined via the igxPivotSelector filter expression tree for the current dimension to be applied in the filter pipe.

filter?: IgcFilteringExpressionsTree

Optional headerFormatter

Section titled "headerFormatter"

Optional function to format the display value of a dimension header. Unlike memberFunction, this does not affect the data key used for grouping or sorting — it is applied when rendering the dimension header text (both row and column dimension headers). When set, the return value of this function is shown instead of the raw dimension value. Return null or undefined to fall back to the raw value.

headerFormatter?: any

Optional horizontalSummary

Section titled "horizontalSummary"
horizontalSummary?: boolean

Level of the dimension.

level?: number

Optional memberFunction

Section titled "memberFunction"

Function that extracts the value

memberFunction?: any

Optional sortable

Section titled "sortable"

Enable/disable sorting for a particular dimension. True by default.

sortable?: boolean

Optional sortDirection

Section titled "sortDirection"

The sorting direction of the current dimension. Determines the order in which the values will appear in the related dimension.

sortDirection?: SortingDirection

The width of the dimension cells to be rendered.Can be pixel, % or "auto".

width?: string
enabled: any
memberName: any