Re: Drag and drop single cell in a table/matrix
Re: Drag and drop single cell in a table/matrix
- Subject: Re: Drag and drop single cell in a table/matrix
- From: Corbin Dunn <email@hidden>
- Date: Thu, 28 Feb 2008 14:19:54 -0800
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 (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