Override:

- (NSImage *)dragImageForRowsWithIndexes:(NSIndexSet *)dragRows tableColumns:(NSArray *)tableColumns event:(NSEvent*)dragEvent offset: (NSPointPointer)dragImageOffset

limit the columns passed based on the column at the event's location. The rest is up to your delegate/datasource methods.

corbin

On Feb 28, 2008, at 2:14 PM, Dan Waltin wrote:
Hi all,

The short question is: how do I drag'n'drop single cells in an NSTableView (or NSOutlineView). I.e. I don't want the entire row to be dragged, just one cell.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to