Instance Property

allowsColumnSelection

A Boolean value indicating whether the table view allows the user to select columns by clicking their headers.

Declaration

@property BOOL allowsColumnSelection;

Discussion

The default is NO, which prevents the user from selecting columns (if you create the table view in Interface Builder, the default value is YES). You can select columns programmatically regardless of this setting.

See Also

Configuring Behavior

allowsColumnReordering

A Boolean value indicating whether the table view allows the user to rearrange columns by dragging their headers.

allowsColumnResizing

A Boolean value indicating whether the table view allows the user to resize columns by dragging between their headers.

allowsMultipleSelection

A Boolean value indicating whether the table view allows the user to select more than one column or row at a time.

allowsEmptySelection

A Boolean value indicating whether the table view allows the user to select zero columns or rows.