Instance Method

tableView:didDragTableColumn:

Tells the delegate that the specified table column was dragged.

Declaration

- (void)tableView:(NSTableView *)tableView didDragTableColumn:(NSTableColumn *)tableColumn;

Parameters

tableView

The table view that sent the message.

tableColumn

The table column.

Discussion

Specifically, this method is sent when the mouse button goes up in tableView and tableColumn has been dragged during the time the mouse button was down. In macOS 10.5 and later the dragged column is sent to the delegate. (In earlier versions of macOS the table column that’s currently located at the dragged column's original index is sent.)

See Also

Moving and Resizing Columns

- tableView:shouldReorderColumn:toColumn:

Asks the delegate to allow or prohibit the specified column to be dragged to a new location.

- tableViewColumnDidMove:

Tells the delegate that a table column was moved by user action.

- tableViewColumnDidResize:

Tells the delegate that a table column was resized.