Dragging NSOutlineView rows by different columns (was Dragging custom NSCells in NSOutlineView)
Dragging NSOutlineView rows by different columns (was Dragging custom NSCells in NSOutlineView)
- Subject: Dragging NSOutlineView rows by different columns (was Dragging custom NSCells in NSOutlineView)
- From: Pete Yandell <email@hidden>
- Date: Thu, 29 May 2003 11:55:16 +1000
Turns out that my original question was barking up the wrong tree. My
problem has nothing to do with the cell classes being used.
You can only drag rows in an outline view by grabbing them in the
column set by setOutlineTableColumn: which is the first column by
default. Anybody know of a work around that lets you drag by other
columns?
On Wednesday, May 28, 2003, at 06:47 PM, Pete Yandell wrote:
I have a custom NSCell subclass that I use for drawing a column in an
NSOutlineView. When I try to drag items in the outline view starting
the drag on that column, I get selection behaviour rather than
dragging. Starting my drag in the other columns works just fine.
Is there something special I need to do in my cell to support dragging
in outline views? Currently the only method I'm implementing is
drawWithFrame:inView:
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.