Re: Drag and drop single cell in a table/matrix

2008-02-28 Thread Corbin Dunn
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

Drag and drop single cell in a table/matrix

2008-02-28 Thread Dan Waltin
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. Is there any example code on how to do this? Or is there anyone who might push me in the right direction? Is tableView:sh