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
Section titled “Properties”| Property | Type | Description |
|---|---|---|
$implicit | string | The header text (from column.header or column.field). |
value | string | The header text (explicit binding). |
column | any | Column configuration reference. |
sortState | asc | desc | unknown | Current sort state for this column. |
filterActive | boolean | Whether the column has an active filter. |
cellEl | HTMLElement | The header cell DOM element being rendered into. |
renderSortIcon | () => HTMLElement | unknown | Render the standard sort indicator icon. Null when not sortable. |
renderFilterButton | () => HTMLElement | unknown | Render the standard filter button. Null when filtering is inactive. |
__row? | TRow | Row data shape marker — never populated at runtime. |