ColumnBoolean
Overview
Boolean list column adapter. Wraps {@link BooleanDisplay}, binding the cell's raw value and forwarding the labels resolved from columnMappings (per field type) and any columnProps override, so a list cell says "Yes" where the read view says "Yes".
Receives the ObjectsGrid value slot props; only value is consumed for rendering. inheritAttrs is disabled so the remaining cell context props (field, formatted, obj, etc.) are not leaked as DOM attributes onto the BooleanDisplay root. BooleanDisplay renders a dash for an empty value.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| value | string|boolean|number | undefined | Raw cell value. | |
| trueLabel | string | "Yes" | Word shown for a true value. | |
| falseLabel | string | "No" | Word shown for a false value. | |
| inline | boolean | false | When true, renders inline (no wrapping div). |
Source
client/lib/objects-grid/ColumnBoolean.vue