@serenity-is/sleekgrid / IGroupTotals
Interface: IGroupTotals<TEntity>
Defined in: src/core/group.ts:101
Minimal totals information attached to a Group. Aggregators populate
sum/avg/min/max and arbitrary data on this object.
Type Parameters
TEntity
TEntity = any
Row item type.
Properties
__groupTotals?
optional__groupTotals:boolean
Defined in: src/core/group.ts:105
Marker identifying the row as a group-totals row.
__nonDataRow?
optional__nonDataRow:boolean
Defined in: src/core/group.ts:103
Whether the row is a non-data row (inherited from NonDataRow).
avg?
optionalavg:Record<string,any>
Defined in: src/core/group.ts:113
Per-field average values.
group?
optionalgroup:Group<TEntity>
Defined in: src/core/group.ts:107
Parent group this totals row belongs to.
initialized?
optionalinitialized:boolean
Defined in: src/core/group.ts:109
Whether totals have been fully calculated; false for lazy totals.
max?
optionalmax:Record<string,any>
Defined in: src/core/group.ts:117
Per-field maximum values.
min?
optionalmin:Record<string,any>
Defined in: src/core/group.ts:115
Per-field minimum values.
sum?
optionalsum:Record<string,any>
Defined in: src/core/group.ts:111
Per-field sum values.