• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: reordering NSTableView elements
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: reordering NSTableView elements
      • From: Michael Carter <email@hidden>
    • Re: reordering NSTableView elements
      • From: Pierre Chatel <email@hidden>
References: 
 >reordering NSTableView elements (From: Pierre Chatel <email@hidden>)

  • Prev by Date: Tree controller bindings and @sum question
  • Next by Date: Saving via NSCoder/dataRepresentationOfType without the '...typedstream...' prefixes
  • Previous by thread: Re: reordering NSTableView elements
  • Next by thread: Re: reordering NSTableView elements
  • Index(es):
    • Date
    • Thread