---
title: width()
framework: swiftui
role: symbol
role_heading: Instance Method
path: swiftui/tablecolumn/width()
---

# width()

Sets the column’s width.

## Declaration

```swift
nonisolated func width() -> TableColumn<RowValue, Sort, Content, Label>
```

## See Also

### Setting the column width

- [width(_:)](swiftui/tablecolumn/width(_:).md)
- [width(min:ideal:max:)](swiftui/tablecolumn/width(min:ideal:max:).md)
