---
title: "customizationID(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/tablecolumncontent/customizationid(_:)"
---

# customizationID(_:)

Sets the identifier to be associated with a column when persisting its state with TableColumnCustomization.

## Declaration

```swift
@MainActor @preconcurrency func customizationID(_ id: String) -> some TableColumnContent<Self.TableRowValue, Self.TableColumnSortComparator>

```

## Parameters

- `id`: The identifier to associate with a column.

## Discussion

Discussion This is required to allow user customization of a specific table column, in addition to the table as a whole being provided a binding to a TableColumnCustomization. The identifier needs to be stable, including across app version updates, since it is used to persist the user customization.

## See Also

### Configuring the content

- [alignment(_:)](swiftui/tablecolumncontent/alignment(_:).md)
- [defaultVisibility(_:)](swiftui/tablecolumncontent/defaultvisibility(_:).md)
- [disabledCustomizationBehavior(_:)](swiftui/tablecolumncontent/disabledcustomizationbehavior(_:).md)
