@serenity-is/sleekgrid / IGroupTotals
Interface: IGroupTotals<TEntity>
Defined in: src/core/group.ts:72
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:76
Marker identifying the row as a group-totals row.
__nonDataRow?
optional__nonDataRow:boolean
Defined in: src/core/group.ts:74
Whether the row is a non-data row (inherited from NonDataRow).
avg?
optionalavg:Record<string,any>
Defined in: src/core/group.ts:84
Per-field average values.
group?
optionalgroup:Group<TEntity>
Defined in: src/core/group.ts:78
Parent group this totals row belongs to.
initialized?
optionalinitialized:boolean
Defined in: src/core/group.ts:80
Whether totals have been fully calculated; false for lazy totals.
max?
optionalmax:Record<string,any>
Defined in: src/core/group.ts:88
Per-field maximum values.
min?
optionalmin:Record<string,any>
Defined in: src/core/group.ts:86
Per-field minimum values.
sum?
optionalsum:Record<string,any>
Defined in: src/core/group.ts:82
Per-field sum values.