---
title: clickedRow
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbrowser/clickedrow
---

# clickedRow

The row number of the cell that the user clicked to display a context menu.

## Declaration

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

## Discussion

Discussion The value of this property is -1 if no context menu is active.

## See Also

### Handling Mouse-Click Events

- [doClick(_:)](appkit/nsbrowser/doclick(_:).md)
- [doDoubleClick(_:)](appkit/nsbrowser/dodoubleclick(_:).md)
- [clickedColumn](appkit/nsbrowser/clickedcolumn.md)
