ColumnDateTime
Overview
Date/time/datetime list column adapter. Wraps {@link DateTimeDisplay}, binding the cell's raw value and forwarding display configuration resolved from columnMappings (per field type) and any columnProps override.
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 DateTimeDisplay root. DateTimeDisplay renders a dash for empty/invalid values.
The default format is "absolute" (clean absolute text with the relative time on hover), which reads better in a dense table than the inline default.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| value | string|object|date | "" | Raw cell value (ISO string, Date, or Luxon DateTime). | |
| format | string|object | "absolute" | Display layout passed to DateTimeDisplay; "absolute" keeps tables tidy. | |
| showTime | boolean | true | Whether to include the time portion in the absolute output. | |
| showRelative | boolean | true | Whether to show the relative time label. | |
| showTooltip | boolean | true | Whether to show the complementary representation as a hover tooltip. | |
| tooltipFormat | string|object | "default" | Luxon format used for the tooltip when a custom format is active. | |
| inline | boolean | false | When true, renders inline (no wrapping div). |
Source
client/lib/objects-grid/ColumnDateTime.vue