---
title: editedColumn
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstableview/editedcolumn
---

# editedColumn

The index of the column being edited.

## Declaration

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

## Return Value

Return Value If sent during editColumn(_:row:with:select:), the index in the tableColumns array of the column being edited; otherwise –1.

## Discussion

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.

## See Also

### Editing Cells

- [editColumn(_:row:with:select:)](appkit/nstableview/editcolumn(_:row:with:select:).md)
- [editedRow](appkit/nstableview/editedrow.md)
