RowSummary

View as Markdown

A pinned row of column summaries in a table layout.

ColumnsMap is required: each key is a column id and each value is a summary name such as 'SUM' or 'AVG'. Position is 'Top' or 'Bottom'; omit it to pin the row to the bottom. IncludeOnlyFilteredRows defaults to true, so the summary uses the rows that pass the current filter. Suspend with IsSuspended. Requires AG Grid PinnedRowModule.

Row Summaries are not displayed while the Layout's GrandTotalRow is 'pinnedTop' or 'pinnedBottom', or when AG Grid enableRowPinning is set.

TypeScript
export interface RowSummary extends
Extends

SuspendableObject

Properties

PropertyTypeDescriptionDefault
ColumnsMapRecord<string, SummarySupportedExpression>Column id to summary name. Each value is a , for example 'SUM' or 'AVG'.
IncludeOnlyFilteredRowsbooleanEvaluates only currently filtered rows in the summarytrue
PositionRowSummaryPosition'Top' pins the summary above the rows. 'Bottom' pins it below them. When omitted, the summary is pinned to the bottom.
IsReadOnlybooleanSets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')
IsSuspendedbooleanSuspends (i.e. turns off) an Adaptable Object

Property Details

ColumnsMap

Column id to summary name. Each value is a , for example 'SUM' or 'AVG'.

TypeScript
ColumnsMap: Record<string, SummarySupportedExpression>;
Property Value

Record<string, SummarySupportedExpression>

IncludeOnlyFilteredRows

Evaluates only currently filtered rows in the summary

TypeScript
IncludeOnlyFilteredRows?: boolean;
Default Value

true

Property Value

boolean

Position

'Top' pins the summary above the rows. 'Bottom' pins it below them. When omitted, the summary is pinned to the bottom.

TypeScript
Position?: RowSummaryPosition;
Property Value

RowSummaryPosition

IsSuspended

Inherited from SuspendableObject

Suspends (i.e. turns off) an Adaptable Object

TypeScript
IsSuspended?: boolean;
Property Value

boolean

IsReadOnly

Inherited from AdaptableObject

Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')

TypeScript
IsReadOnly?: boolean;
Property Value

boolean