Skip to content

utils/resolveColumnComponents

Overview

Resolves the list column adapter component and props for each display field, applying the override precedence chain. Mirrors the form override chain in buildForm.js. Pure (no Vue reactivity) so it can be unit-tested directly and wrapped in a computed by useViewList.

Methods

  • resolveColumnComponent - Resolve the adapter component for a single column, highest precedence first: 1.
  • resolveColumnProps - Resolve the props passed to a column's adapter, layering lowest to highest: type-default columnProps, then configProps[name], then propProps[name].
  • resolveColumns - Resolve adapter component + props for every display field, keyed by field name.

Types

ResolveColumnsOptions

ResolvedColumn

Source

client/lib/utils/resolveColumnComponents.js:1

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2