Contents

deselectColumn(_:)

Deselects the column at the specified index if it’s selected.

Declaration

func deselectColumn(_ column: Int)

Parameters

  • column:

    The index in the Tablecolumns array of the column to deselect.

Discussion

Deselects the column at columnIndex if it’s selected, regardless of whether empty selection is allowed.

If the selection does in fact change, this method posts selectionDidChangeNotification to the default notification center.

If the indicated column was the last column selected by the user, the column nearest it effectively becomes the last selected column. In case of a tie, priority is given to the column on the left.

This method doesn’t check with the delegate before changing the selection.

See Also

Related Documentation

Selecting Columns and Rows