ComponentOne ASP.NET MVC Controls
CollectionViewGroup Class
File
wijmo.js
Module
wijmo.collections

Represents a group created by a CollectionView object based on its groupDescriptions property.

Constructor

Properties

Methods

Constructor

constructor

constructor(groupDescription: GroupDescription, name: string, level: number, isBottomLevel: boolean): CollectionViewGroup

Initializes a new instance of the CollectionViewGroup class.

Parameters
Returns
CollectionViewGroup

Properties

groupDescription

Gets the GroupDescription that owns this group.

Type
GroupDescription

groups

Gets an array containing this group's subgroups.

Type
CollectionViewGroup[]

isBottomLevel

Gets a value that indicates whether this group has any subgroups.

Type
boolean

items

Gets an array containing the items included in this group (including all subgroups).

Type
any[]

level

Gets the level of this group.

Type
number

name

Gets the name of this group.

Type
string

Methods

getAggregate

getAggregate(aggType: Aggregate, binding: string, view?: ICollectionView): void

Calculates an aggregate value for the items in this group.

Parameters
Optional

CollectionView that owns this group.

Returns
void