FROM : Corbin Dunn
DATE : Thu Feb 28 23:19:54 2008
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.
DATE : Thu Feb 28 23:19:54 2008
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.
| Related mails | Author | Date |
|---|---|---|
| Dan Waltin | Feb 28, 23:14 | |
| Corbin Dunn | Feb 28, 23:19 |






Cocoa mail archive

