Re: reordering NSTableView elements
Re: reordering NSTableView elements
- Subject: Re: reordering NSTableView elements
- From: Pierre Chatel <email@hidden>
- Date: Thu, 26 May 2005 19:05:04 -0300
Thanks ! it must be the only way i guess. Problem is that i'm not
using the datasource design pattern, i'm rather using a table
controller with bindings. So, i guess i'll have to use both !
Pierre
On May 26, 2005, at 4:50 PM, Michael Carter wrote:
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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