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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| formatted | string|number|boolean|object|array | "" | Pre-formatted cell value produced by the grid cell. |
Source
client/lib/objects-grid/ColumnText.vue