Skip to content

@serenity-is/corelib / AggregateFormatting / groupTotalsFormat

Function: groupTotalsFormat()

groupTotalsFormat(ctx): FormatterResult

Defined in: src/slick/aggregateformatting.tsx:23

Formats a group totals cell (aggregate badge/value) based on the column's summaryType.

Parameters

ctx

FormatterContext<IGroupTotals<any>>

Formatter context containing group totals item and column.

Returns

FormatterResult

Rendered aggregate markup or empty string.