# PivotColumnTotalHeaderContext

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

Context for Pivot Total Columns

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

###### Extends

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

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [aggregation](https://www.adaptabletools.com/docs/reference/pivotcolumntotalheadercontext.md#aggregation) | `string` | Aggregation function of Column |
| [columnType](https://www.adaptabletools.com/docs/reference/pivotcolumntotalheadercontext.md#columntype) | `'pivotColumnTotal'` | Pivot Column Total |
| [pivotColumnId](https://www.adaptabletools.com/docs/reference/pivotcolumntotalheadercontext.md#pivotcolumnid) | `string` | Id of Pivot Column |
| [pivotKey](https://www.adaptabletools.com/docs/reference/pivotcolumntotalheadercontext.md#pivotkey) | `string` | Key (i.e. column value) of Pivot Column |
| [adaptableContext](https://www.adaptabletools.com/docs/reference/pivotcolumntotalheadercontext.md#adaptablecontext) | `any` | Custom application Context provided in `AdaptableOptions.adaptableContext` |

## Property Details

### aggregation

Aggregation function of Column

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

###### Property Value

`string`

### columnType

Pivot Column Total

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

###### Property Value

`'pivotColumnTotal'`

### pivotColumnId

Id of Pivot Column

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

###### Property Value

`string`

### pivotKey

Key (i.e. column value) of Pivot Column

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

###### Property Value

`string`

### 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`
