Skip to content

ColumnText

Overview

Default list column adapter. Renders the cell's pre-formatted value as plain text, reproducing ObjectsGrid's historical default cell content. Used as the fallback adapter when no type-specific column component is resolved.

Receives the ObjectsGrid value slot props (field, value, formatted, obj, pk, etc.); only formatted is consumed. String/number/boolean values render as-is. Object and array values (an inlined related object, or a JSON field, that has no more specific column adapter) render as compact JSON, truncated when very large, so they read sensibly instead of [object Object].

Props

NameTypeRequiredDefaultDescription
formattedstring|number|boolean|object|array""Pre-formatted cell value produced by the grid cell.

Source

client/lib/objects-grid/ColumnText.vue

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