tableView(_:shouldSelect:)
Asks the delegate whether the specified table column can be selected.
Declaration
@MainActor optional func tableView(_ tableView: NSTableView, shouldSelect tableColumn: NSTableColumn?) -> BoolParameters
- tableView:
The table view that sent the message.
- tableColumn:
The table column.
Return Value
Discussion
The delegate can implement this method to disallow selection of particular columns.
See Also
Selecting rows
selectionShouldChange(in:)tableView(_:shouldSelectRow:)tableView(_:selectionIndexesForProposedSelection:)tableViewSelectionIsChanging(_:)tableViewSelectionDidChange(_:)tableView(_:shouldTypeSelectFor:withCurrentSearch:)tableView(_:typeSelectStringFor:row:)tableView(_:nextTypeSelectMatchFromRow:toRow:for:)