GroupingColumn Class

Contains methods for describing fields that are used for column grouping.

Reports

The GroupingColumn class provides basic information about column grouping fields. The GroupingInfo class includes additional methods for describing and updating grouping fields.

The following are methods for GroupingColumn. All are instance methods.

  • getName()

    Returns the unique API name of the field or bucket field that is used for column grouping.

  • getLabel()

    Returns the localized display name of the field that is used for column grouping.

  • getDataType()

    Returns the data type of the field that is used for column grouping.

  • getGroupingLevel()

    Returns the level of grouping for the column.

Returns the unique API name of the field or bucket field that is used for column grouping.

public String getName()

Type: String

Returns the localized display name of the field that is used for column grouping.

public String getLabel()

Type: String

Returns the data type of the field that is used for column grouping.

public Reports.ColumnDataType getDataType()

Type: Reports.ColumnDataType

Returns the level of grouping for the column.

public Integer getGroupingLevel()

Type: Integer

  • In a summary report, 0, 1, or 2 indicates grouping at the first, second, or third row level.
  • In a matrix report, 0 or 1 indicates grouping at the first or second row or column level.