RowSummary
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.
export interface RowSummary extendsExtends
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| ColumnsMap | Record<string, SummarySupportedExpression> | Column id to summary name. Each value is a , for example 'SUM' or 'AVG'. | |
| IncludeOnlyFilteredRows | boolean | Evaluates only currently filtered rows in the summary | true |
| Position | RowSummaryPosition | 'Top' pins the summary above the rows. 'Bottom' pins it below them. When omitted, the summary is pinned to the bottom. | |
| IsReadOnly | boolean | Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full') | |
| IsSuspended | boolean | Suspends (i.e. turns off) an Adaptable Object |
Property Details
ColumnsMap
Column id to summary name. Each value is a , for example 'SUM' or 'AVG'.
ColumnsMap: Record<string, SummarySupportedExpression>;Property Value
Record<string, SummarySupportedExpression>
IncludeOnlyFilteredRows
Evaluates only currently filtered rows in the summary
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.
Position?: RowSummaryPosition;Property Value
IsSuspended
Inherited from SuspendableObject
Suspends (i.e. turns off) an Adaptable Object
IsSuspended?: boolean;Property Value
boolean
IsReadOnly
Inherited from AdaptableObject
Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')
IsReadOnly?: boolean;Property Value
boolean