@serenity-is/sleekgrid / GroupTotals
Class: GroupTotals<TEntity>
Defined in: src/core/group.ts:101
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
TEntity = any
Implements
IGroupTotals<TEntity>
Constructors
Constructor
new GroupTotals<
TEntity>():GroupTotals<TEntity>
Returns
GroupTotals<TEntity>
Inherited from
Properties
__groupTotals
readonly__groupTotals:true=true
Defined in: src/core/group.ts:103
Implementation of
__nonDataRow
__nonDataRow:
boolean=true
Defined in: src/core/base.ts:5
Implementation of
Inherited from
avg?
optionalavg:Record<string,any>
Defined in: src/core/group.ts:128
Contains avg
Implementation of
group
group:
Group<TEntity>
Defined in: src/core/group.ts:110
Parent Group.
Param
Implementation of
initialized
initialized:
boolean=false
Defined in: src/core/group.ts:118
Whether the totals have been fully initialized / calculated. Will be set to false for lazy-calculated group totals.
Param
Implementation of
max?
optionalmax:Record<string,any>
Defined in: src/core/group.ts:138
Contains max
Implementation of
min?
optionalmin:Record<string,any>
Defined in: src/core/group.ts:133
Contains min
Implementation of
sum?
optionalsum:Record<string,any>
Defined in: src/core/group.ts:123
Contains sum