Function: resolveColumnHeader()
function resolveColumnHeader(column: {
header?: string;
key: string | number | symbol;
}): string;Defined in: shared/datatable/lib/format.ts:45
The label a column shows when the consumer supplied no header. Humanizing is
the fallback only; an explicit header wins untouched.
Shared-lane because four surfaces read it — desktop header, Columns menu
(meta.columnLabel), mobile card, CSV export — and CSV cannot reach a
client-lane helper. One place is what keeps them from drifting apart.
Parameters
| Parameter | Type |
|---|---|
column | { header?: string; key: string | number | symbol; } |
column.header? | string |
column.key | string | number | symbol |
Returns
string