allowsColumnSelection
A Boolean value indicating whether the table view allows the user to select columns by clicking their headers.
Declaration
var allowsColumnSelection: Bool { get set }Discussion
The default is false, which prevents the user from selecting columns (if you create the table view in Interface Builder, the default value is true). You can select columns programmatically regardless of this setting.