Skip to content

@serenity-is/sleekgrid / GroupTotals

Class: GroupTotals<TEntity>

Information about group totals. An instance of GroupTotals will be created for each totals row and passed to the aggregators so that they can store arbitrary data in it. That data can later be accessed by group totals formatters during the display. GroupTotals

Extends

Type Parameters

TEntity = any

Constructors

new GroupTotals()

new GroupTotals<TEntity>(): GroupTotals<TEntity>

Returns

GroupTotals<TEntity>

Inherited from

NonDataRow.constructor

Properties

__groupTotals

readonly __groupTotals: true = true

Defined in

core/group.ts:97


__nonDataRow

__nonDataRow: boolean = true

Inherited from

NonDataRow.__nonDataRow

Defined in

core/base.ts:5


avg?

optional avg: number

Contains avg

Defined in

core/group.ts:122


group

group: Group<TEntity>

Parent Group.

Param

Defined in

core/group.ts:104


initialized

initialized: boolean = false

Whether the totals have been fully initialized / calculated. Will be set to false for lazy-calculated group totals.

Param

Defined in

core/group.ts:112


max?

optional max: any

Contains max

Defined in

core/group.ts:132


min?

optional min: any

Contains min

Defined in

core/group.ts:127


sum?

optional sum: number

Contains sum

Defined in

core/group.ts:117