Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
GroupingColumn Class
Namespace
The GroupingColumn class provides basic information about column grouping fields. The GroupingInfo class includes additional methods for describing and updating grouping fields.
GroupingColumn Methods
The following are methods for GroupingColumn. All are instance methods.
getName()
Syntax
public String getName()
Return Value
Type: String
getLabel()
Syntax
public String getLabel()
Return Value
Type: String
getDataType()
Syntax
public Reports.ColumnDataType getDataType()
Return Value
Type: Reports.ColumnDataType
getGroupingLevel()
Syntax
public Integer getGroupingLevel()
Return Value
Type: Integer
Usage
- 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.