---
title: "tableView(_:didClick:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstableviewdelegate/tableview(_:didclick:)"
---

# tableView(_:didClick:)

Tells the delegate that the mouse button was clicked in the specified table column, but the column was not dragged.

## Declaration

```swift
@MainActor optional func tableView(_ tableView: NSTableView, didClick tableColumn: NSTableColumn)
```

## Parameters

- `tableView`: The table view that sent the message.
- `tableColumn`: The table column.

## See Also

### Responding to mouse events

- [tableView(_:mouseDownInHeaderOf:)](appkit/nstableviewdelegate/tableview(_:mousedowninheaderof:).md)
- [tableView(_:shouldTrackCell:for:row:)](appkit/nstableviewdelegate/tableview(_:shouldtrackcell:for:row:).md)
