# GridHeaderContext

> _Since v2.5.0_

Context passed to a `*tbwHeader` template.

Mirrors the core `HeaderCellContext`, with `$implicit` bound to the header
text so `let value` works.

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| <span id="$implicit"></span>`$implicit` | <code>string</code> | The header text (from `column.header` or `column.field`). |
| <span id="value"></span>`value` | <code>string</code> | The header text (explicit binding). |
| <span id="column"></span>`column` | <code>any</code> | Column configuration reference. |
| <span id="sortstate"></span>`sortState` | <code>asc &#124; desc &#124; unknown</code> | Current sort state for this column. |
| <span id="filteractive"></span>`filterActive` | <code>boolean</code> | Whether the column has an active filter. |
| <span id="cellel"></span>`cellEl` | <code>HTMLElement</code> | The header cell DOM element being rendered into. |
| <span id="rendersorticon"></span>`renderSortIcon` | <code>() =&gt; HTMLElement &#124; unknown</code> | Render the standard sort indicator icon. Null when not sortable. |
| <span id="renderfilterbutton"></span>`renderFilterButton` | <code>() =&gt; HTMLElement &#124; unknown</code> | Render the standard filter button. Null when filtering is inactive. |
| <span id="__row"></span>`__row?` | <code>TRow</code> | Row data shape marker — never populated at runtime. |
