init(LocalizedStringKey , value: KeyPath <RowValue , String>)
Creates an unsortable column that displays a string property, and which generates its label from a localized string key.
Available when
RowValue
conforms to Identifiable
, Sort
is Never
, Content
conforms to View
, and Label
is Text
.init<S>(S, value: KeyPath <RowValue , String>)
Creates an unsortable column that displays a string property, and which generates its label from a string.
Available when
RowValue
conforms to Identifiable
, Sort
is Never
, Content
conforms to View
, and Label
is Text
.init<S>(S, content: (RowValue ) -> Content)
Creates an unsortable column that generates its label from a string.
Available when
RowValue
conforms to Identifiable
, Sort
is Never
, Content
conforms to View
, and Label
is Text
.