[]
        
(Showing Draft Content)

Wijmo.Collectionviewgroup

CollectionViewGroup Class

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

Heirarchy

  • CollectionViewGroup

Constructors

constructor

Properties

groupDescription

groupDescription: GroupDescription

Gets the GroupDescription that owns this group.

groups

Gets an array containing this group's subgroups.

isBottomLevel

isBottomLevel: boolean

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

items

items: any[]

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

level

level: number

Gets the level of this group.

name

name: string

Gets the name of this group.

Methods

getAggregate

  • Calculates an aggregate value for the items in this group.

    Parameters

    • aggType: Aggregate

      Type of aggregate to calculate.

    • binding: string

      Property to aggregate on.

    • Optional view: ICollectionView

      CollectionView that owns this group.

    • Optional sheet: any

    Returns any

    The aggregate value.