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

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

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.

width?: string

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

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