---
url: "https://vueda.dev/v3/reference/api/vue/ColumnDuration.md"
title: "ColumnDuration"
---

# ColumnDuration

## Overview

Duration list column adapter. Wraps {@link DurationDisplay}, binding the cell's raw
`value` and forwarding the display options resolved from `columnMappings` (per field
type) and any `columnProps` override, so a list cell words a duration the way the read
view does.

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 DurationDisplay root.
DurationDisplay renders a dash for an empty value.

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-value">value</span> | `string\|number` |  | `undefined` | Raw cell value, as a Django duration string or a number of seconds. |
| <span id="prop-format">format</span> | `string` |  | `"long"` | Unit wording passed to DurationDisplay; `"short"` abbreviates it for a dense table. |
| <span id="prop-inline">inline</span> | `boolean` |  | `false` | When true, renders inline (no wrapping div). |

## Source

`client/lib/objects-grid/ColumnDuration.vue`
