---
title: "init(_:value:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/tablecolumn/init(_:value:)"
---

# init(_:value:)

Creates an unsortable column that displays a string property with a text label.

## Declaration

```swift
nonisolated init(_ text: Text, value: KeyPath<RowValue, String>) where Content == Text
```

## Parameters

- `text`: The column’s label.
- `value`: The path to the property associated with the column. The table uses this to display the property as verbatim text in each row of the table.

## Discussion

Discussion This initializer creates a Text view for you, and treats the localized key similar to init(_:tableName:bundle:comment:). For more information about localizing strings, see Text.

## See Also

### Creating an unsortable column

- [init(_:content:)](swiftui/tablecolumn/init(_:content:).md)
