# RowSummary

Canonical page: https://www.adaptabletools.com/docs/reference/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&#39;s `GrandTotalRow` is `'pinnedTop'` or `'pinnedBottom'`, or when AG Grid `enableRowPinning` is set.

```ts title="TypeScript"
export interface RowSummary extends SuspendableObject 
```

###### Extends

[`SuspendableObject`](https://www.adaptabletools.com/docs/reference/suspendableobject.md)

## Properties

| Property | Type | Description | Default |
| --- | --- | --- | --- |
| [ColumnsMap](https://www.adaptabletools.com/docs/reference/rowsummary.md#columnsmap) | `Record<string, SummarySupportedExpression>` | Column id to summary name. Each value is a , for example `'SUM'` or `'AVG'`. |   |
| [IncludeOnlyFilteredRows](https://www.adaptabletools.com/docs/reference/rowsummary.md#includeonlyfilteredrows) | `boolean` | Evaluates only currently filtered rows in the summary | true |
| [Position](https://www.adaptabletools.com/docs/reference/rowsummary.md#position) | [`RowSummaryPosition`](https://www.adaptabletools.com/docs/reference/rowsummaryposition.md) | `'Top'` pins the summary above the rows. `'Bottom'` pins it below them. When omitted, the summary is pinned to the bottom. |   |
| [IsReadOnly](https://www.adaptabletools.com/docs/reference/rowsummary.md#isreadonly) | `boolean` | Sets Entity to ReadOnly (overwriting a Strategy Entitlement of &#39;Full&#39;) |   |
| [IsSuspended](https://www.adaptabletools.com/docs/reference/rowsummary.md#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'`.

```ts title="TypeScript"
ColumnsMap: Record<string, SummarySupportedExpression>;
```

###### Property Value

`Record<string, SummarySupportedExpression>`

### IncludeOnlyFilteredRows

Evaluates only currently filtered rows in the summary

```ts title="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.

```ts title="TypeScript"
Position?: RowSummaryPosition;
```

###### Property Value

[`RowSummaryPosition`](https://www.adaptabletools.com/docs/reference/rowsummaryposition.md)

### IsSuspended

> *Inherited from [SuspendableObject](https://www.adaptabletools.com/docs/reference/suspendableobject.md)*

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

```ts title="TypeScript"
IsSuspended?: boolean;
```

###### Property Value

`boolean`

### IsReadOnly

> *Inherited from [AdaptableObject](https://www.adaptabletools.com/docs/reference/adaptableobject.md)*

Sets Entity to ReadOnly (overwriting a Strategy Entitlement of &#39;Full&#39;)

```ts title="TypeScript"
IsReadOnly?: boolean;
```

###### Property Value

`boolean`
