GroupDescription

Description

A GroupDescription is an interface that exposes properties to allow the description of groups for the data. A GroupDescription is meant to be used in conjunction with a DataProvider.

Properties

Property

Type

Description

fields

readonly string[]

An array with the fields on which data is grouped.

sortDirection?

SortDirection

Ascending if the groups are sorted in ascending order, otherwise Descending.

comparer?

Comparer<unknown>

The comparer used to group the data.

groups?

readonly ReadonlyPredefinedGroup[]

The list of PredefinedGroup.

stats?

StatDescription[]

The array of StatDescription specifying the aggregates to apply on the grouped data items.