<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTableView/allowsMultipleSelection",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTableView(py)allowsMultipleSelection"
  },
  "title" : "allowsMultipleSelection"
}
-->

# allowsMultipleSelection

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

```
var allowsMultipleSelection: Bool { get set }
```

## Discussion

The default is <doc://com.apple.documentation/documentation/Swift/false>, which allows the user to select only one column or row at a time. You can select multiple columns or rows programmatically regardless of this setting.

## See Also

[`-  selectColumnIndexes:byExtendingSelection:`](/documentation/AppKit/NSTableView/selectColumnIndexes(_:byExtendingSelection:))

Sets the column selection using `indexes` possibly extending the selection.

[`-  selectRowIndexes:byExtendingSelection:`](/documentation/AppKit/NSTableView/selectRowIndexes(_:byExtendingSelection:))

Sets the row selection using `indexes` extending the selection if specified.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)