Configuration of a pivot dimension.

Hierarchy

Hierarchy (View Summary)

Constructors

Properties

childLevel?: IgrPivotDimension

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

Gets/Sets data type

displayName: string

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

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

horizontalSummary?: boolean
level?: number

Level of the dimension.

memberFunction?: any

Function that extracts the value

sortable?: boolean

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

sortDirection?: SortingDirection

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

width?: string

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

Accessors

  • get baseDimension(): IgrPivotDimension

    Returns IgrPivotDimension

  • set baseDimension(value: IgrPivotDimension): void

    Gets/Sets the base dimension that is used by this class to determine the other dimensions and their values. Having base dimension set is required in order for the Date Dimensions to show.

    Parameters

    Returns void

  • get enabled(): boolean

    Enables/Disables a particular dimension from pivot structure.

    Returns boolean

  • set enabled(value: boolean): void

    Enables/Disables a particular dimension from pivot structure.

    Parameters

    • value: boolean

    Returns void

  • get memberName(): string

    Returns string

  • set memberName(value: string): void

    Unique member to extract related data field value or the result of the memberFunction.

    Parameters

    • value: string

    Returns void

  • get resourceStrings(): IgrGridResourceStrings

    Returns IgrGridResourceStrings

  • set resourceStrings(value: IgrGridResourceStrings): void

    Gets/Sets the resource strings.

    By default it uses EN resources.

    Parameters

    Returns void