Client-Side API Reference > CollectionView > CollectionViewGroup Class |
constructor(groupDescription: GroupDescription, name: string, level: number, isBottomLevel: boolean): CollectionViewGroup
Initializes a new instance of the CollectionViewGroup class.
GroupDescription that owns the new group.
Name of the new group.
Level of the new group.
Whether this group has any subgroups.
getAggregate(aggType: Aggregate, binding: string, view?: ICollectionView): void
Calculates an aggregate value for the items in this group.
Type of aggregate to calculate.
Property to aggregate on.
CollectionView that owns this group.
Represents a group created by a CollectionView object based on its groupDescriptions property.