Re: reordering NSTableView elements
Re: reordering NSTableView elements
- Subject: Re: reordering NSTableView elements
- From: Michael Carter <email@hidden>
- Date: Thu, 26 May 2005 12:50:02 -0700
I believe since it's rows and not columns that need to be reordered
in this case, you need to implement the drag/drop source methods in
the tableView's delegate/datasource as well as -
draggingSourceOperationMaskForLocal: in the subclass of tableView to
control which ops you'll allow. I'm finding this out as I'm doing
about the same thing.
mmalc has an example of this in his Bookmarks code.
#mikec
On May 26, 2005, at 9:51 AM, Pierre Chatel wrote:
Hi list !
Just before starting implementation i wanted to ask this: in order
to allow users re-ordering rows of a table view (like you'll do
with safari bookmarks for instance), do i have to implement
standard drag&drop methods and limit them to the NSTableView
instance or should i use an other mecanism ?
Pierre _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden