Skip to content

columnEntryField

columnEntryField<TFieldSlug>(entry): TFieldSlug

Defined in: packages/core/src/collections/types.ts:129

Reads the field slug a ColumnEntry names, whichever of its two shapes it is — the one piece of a ColumnEntry every order/visibility helper that doesn’t otherwise care about width/pin/hidden overrides needs (listView/listViewUrlState.ts’s view-baseline diff, resolveListViewQueryState’s legacy bare-slug consumers).

TFieldSlug extends string = string

ColumnEntry<TFieldSlug>

A bare field slug, or an object entry carrying overrides.

TFieldSlug

entry itself when it’s a bare slug, otherwise entry.field.