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

# width

The table column’s width, in points.

```
var width: CGFloat { get set }
```

## Discussion

The default value of this property is `100.0`.

If the value of this property exceeds the minimum or maximum width, it’s adjusted to the appropriate limiting value.

This property posts [`columnDidResizeNotification`](/documentation/AppKit/NSTableView/columnDidResizeNotification) on behalf of the table column’s `NSTableView` and marks the table view as needing display.

---

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)