• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
dragging NSTableColumn to another table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dragging NSTableColumn to another table


  • Subject: dragging NSTableColumn to another table
  • From: Chuck Soper <email@hidden>
  • Date: Mon, 18 Feb 2013 16:09:01 -0800
  • Thread-topic: dragging NSTableColumn to another table

I have a view-based table with a single row. I want to be able to drag
columns to another table and (within the same table for reordering). For
this, I can't use the standard NSTableView column reordering. I've already
subclassed NSTableHeaderCell for custom drawing.

Does anyone know the steps to allow custom dragging of a table column to
another table? Is this possible? If I was dealing with an NSView subclass,
I think this would be straightforward. I want to show the entire column
(header + row) when dragging. I believe that the dragging implementation
could go in my NSTableHeaderCell subclass, but I'm not sure how to get
started.

Thanks,

Chuck


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: dragging NSTableColumn to another table
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Tracking visibleRect changes using Autolayout
  • Next by Date: Custom drawn window like Game Center
  • Previous by thread: Re: No mouseExited when switching windows
  • Next by thread: Re: dragging NSTableColumn to another table
  • Index(es):
    • Date
    • Thread