---
title: allowsColumnReordering
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstableview/allowscolumnreordering
---

# allowsColumnReordering

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

## Declaration

```swift
var allowsColumnReordering: Bool { get set }
```

## Discussion

Discussion The default value of this property is true, which allows the user to rearrange the table view’s columns. You can rearrange columns programmatically regardless of this setting.

## See Also

### Related Documentation

- [moveColumn(_:toColumn:)](appkit/nstableview/movecolumn(_:tocolumn:).md)

### Configuring Behavior

- [allowsColumnResizing](appkit/nstableview/allowscolumnresizing.md)
- [allowsMultipleSelection](appkit/nstableview/allowsmultipleselection.md)
- [allowsEmptySelection](appkit/nstableview/allowsemptyselection.md)
- [allowsColumnSelection](appkit/nstableview/allowscolumnselection.md)
- [usesAutomaticRowHeights](appkit/nstableview/usesautomaticrowheights.md)
