Endeca Presentation API
GroupBy Constructor (groupingKey)
NamespacesEndeca.Navigation.AnalyticsGroupByGroupByGroupByNew(String)
Constructs a new GroupBy.
Declaration Syntax
C#Visual BasicVisual C++
public GroupBy(
	string groupingKey
)
Public Sub New ( _
	groupingKey As String _
)
public:
GroupBy (
	String^ groupingKey
)
Parameters
groupingKey (String)
The name of the Endeca property or dimension by which the records will be aggregated.
Remarks
This one-parameter constructor will request aggregation of records into groups based on the Endeca property or dimension named groupingKey.
Examples
This code:
CopyC#
GroupByList g = new GroupByList();
GroupBy grByYr = new GroupBy("Year");
g.add(grBy);
performs a leaf-level grouping of records based on the Endeca dimension named Year.

Assembly: Endeca.Navigation (Module: Endeca.Navigation) Version: 0.0.0.0