# PivotGrandTotalHeaderContext

Canonical page: https://www.adaptabletools.com/docs/reference/pivotgrandtotalheadercontext

Context for Pivot Grand Total Columns

```ts title="TypeScript"
export interface PivotGrandTotalHeaderContext extends BaseColumnHeaderContext 
```

###### Extends

[`BaseColumnHeaderContext`](https://www.adaptabletools.com/docs/reference/basecolumnheadercontext.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [aggregatedColumnId](https://www.adaptabletools.com/docs/reference/pivotgrandtotalheadercontext.md#aggregatedcolumnid) | `string` | Id of Pivot Aggregated Column |
| [aggregation](https://www.adaptabletools.com/docs/reference/pivotgrandtotalheadercontext.md#aggregation) | `string` | Aggregation function of Column |
| [columnType](https://www.adaptabletools.com/docs/reference/pivotgrandtotalheadercontext.md#columntype) | `'pivotGrandTotal'` | Pivot Grand Total Column |
| [adaptableContext](https://www.adaptabletools.com/docs/reference/pivotgrandtotalheadercontext.md#adaptablecontext) | `any` | Custom application Context provided in `AdaptableOptions.adaptableContext` |

## Property Details

### aggregatedColumnId

Id of Pivot Aggregated Column

```ts title="TypeScript"
aggregatedColumnId: string;
```

###### Property Value

`string`

### aggregation

Aggregation function of Column

```ts title="TypeScript"
aggregation: string;
```

###### Property Value

`string`

### columnType

Pivot Grand Total Column

```ts title="TypeScript"
columnType: 'pivotGrandTotal';
```

###### Property Value

`'pivotGrandTotal'`

### adaptableContext

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

Custom application Context provided in `AdaptableOptions.adaptableContext`

```ts title="TypeScript"
adaptableContext: any;
```

###### Property Value

`any`
