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

# editedColumn

The index of the column being edited.

```
var editedColumn: Int { get }
```

## Return Value

If sent during [`editColumn(_:row:with:select:)`](/documentation/AppKit/NSTableView/editColumn(_:row:with:select:)), the index in the [`tableColumns`](/documentation/AppKit/NSTableView/tableColumns) array of the column being edited; otherwise `–1`.

## Discussion

This property does not apply to view-based table views. In a view-based table view, the views are responsible for their own editing behavior. For other tables, the value reflects the index of the column being edited or `–1` when there is no editing session in progress or when the currently edited row is a “full width” row.

---

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)