# BaseColumnHeaderContext

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

Common properties for Column Header Context

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

###### Extends

[`BaseContext`](https://www.adaptabletools.com/docs/reference/basecontext.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [colDefHeaderName](https://www.adaptabletools.com/docs/reference/basecolumnheadercontext.md#coldefheadername) | `string` | Original header name from the Column Definition (`headerName`, or a humanised `field` when `headerName` is not set).<br/>Never affected by Layout-specific headers. |
| [currentLayout](https://www.adaptabletools.com/docs/reference/basecolumnheadercontext.md#currentlayout) | [`Layout`](https://www.adaptabletools.com/docs/reference/layout.md) | Current Layout |
| [currentLayoutName](https://www.adaptabletools.com/docs/reference/basecolumnheadercontext.md#currentlayoutname) | `string` | Name of Current Layout |
| [currentLayoutType](https://www.adaptabletools.com/docs/reference/basecolumnheadercontext.md#currentlayouttype) | `'table' \| 'pivot'` | Type (table/pivot) of Current Layout |
| [defaultHeaderName](https://www.adaptabletools.com/docs/reference/basecolumnheadercontext.md#defaultheadername) | `string` | Resolved header name for the Column — the layout-specific header if one is defined, otherwise the ColDef header.<br/>This is the value that would be displayed when no `columnHeader` function is provided. |
| [layoutSpecificHeaderName](https://www.adaptabletools.com/docs/reference/basecolumnheadercontext.md#layoutspecificheadername) | `string` | Layout-specific header name for the Column, when one is defined in the current Layout&#39;s `ColumnHeaders`. |
| [adaptableContext](https://www.adaptabletools.com/docs/reference/basecolumnheadercontext.md#adaptablecontext) | `any` | Custom application Context provided in `AdaptableOptions.adaptableContext` |

## Property Details

### colDefHeaderName

Original header name from the Column Definition (`headerName`, or a humanised `field` when `headerName` is not set).
Never affected by Layout-specific headers.

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

###### Property Value

`string`

### currentLayout

Current Layout

```ts title="TypeScript"
currentLayout: Layout;
```

###### Property Value

[`Layout`](https://www.adaptabletools.com/docs/reference/layout.md)

### currentLayoutName

Name of Current Layout

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

###### Property Value

`string`

### currentLayoutType

Type (table/pivot) of Current Layout

```ts title="TypeScript"
currentLayoutType: 'table' | 'pivot';
```

###### Property Value

`'table' | 'pivot'`

### defaultHeaderName

Resolved header name for the Column — the layout-specific header if one is defined, otherwise the ColDef header.
This is the value that would be displayed when no `columnHeader` function is provided.

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

###### Property Value

`string`

### layoutSpecificHeaderName

Layout-specific header name for the Column, when one is defined in the current Layout&#39;s `ColumnHeaders`.

```ts title="TypeScript"
layoutSpecificHeaderName?: 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`
