Configuration of a pivot dimension.

Hierarchy

Hierarchy (view full)

Constructors

Properties

childLevel?: IgcPivotDimension

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

sortDirection?: SortingDirection

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

sortable?: boolean

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

width?: string

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

Accessors

  • get baseDimension(): IgcPivotDimension
  • Returns IgcPivotDimension

  • set baseDimension(value): 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
  • Returns boolean

  • set enabled(value): void
  • Enables/Disables a particular dimension from pivot structure.

    Parameters

    • value: boolean

    Returns void

  • get memberName(): string
  • Returns string

  • set memberName(value): void
  • Field name to use in order to extract value.

    Parameters

    • value: string

    Returns void

  • get options(): IgcPivotDateDimensionOptions
  • Returns IgcPivotDateDimensionOptions

  • set options(value): void
  • Gets/Sets the options for the predefined date dimensions whether to show quarter, years and etc.

    Parameters

    Returns void

  • get resourceStrings(): IgcGridResourceStrings
  • Returns IgcGridResourceStrings

  • set resourceStrings(value): void
  • Gets/Sets the resource strings.

    Remarks

    By default it uses EN resources.

    Parameters

    Returns void