@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
Properties
__groupTotals
readonly__groupTotals:true=true
Defined in
__nonDataRow
__nonDataRow:
boolean=true
Inherited from
Defined in
avg?
optionalavg:number
Contains avg
Defined in
group
group:
Group<TEntity>
Parent Group.
Param
Defined in
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
max?
optionalmax:any
Contains max
Defined in
min?
optionalmin:any
Contains min
Defined in
sum?
optionalsum:number
Contains sum