---
title: editedRow
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstableview/editedrow
---

# editedRow

The index of the row being edited.

## Declaration

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

## 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 row being edited or –1 when there is no editing session in progress.

## See Also

### Editing Cells

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