• 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: drag-and-drop support in an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drag-and-drop support in an NSTableView


  • Subject: Re: drag-and-drop support in an NSTableView
  • From: Alex Rice <email@hidden>
  • Date: Wed, 20 Mar 2002 21:26:29 -0700

On Wednesday, March 20, 2002, at 04:09 PM, Chaz wrote:

Hello:

Does anybody know how to add drag-and-drop support for rows in an NSTableView (like how iTunes let's use reorder songs by dragging)? In the docs, it talks about dragging columns, but I can't find anything on rows.

See in NSTableDataSource:

Drag and drop

- tableView:acceptDrop:row:dropOperation:
- tableView:validateDrop:proposedRow:proposedDropOperation:
- tableView:writeRows:toPasteboard:

There are also some drag-n-drop notes in NSTableView. But I'm pretty sure you have to use NSTableDataSource as well.

Alex Rice <email@hidden>
Mindlube Software
http://www.mindlube.com/
_______________________________________________
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.

References: 
 >drag-and-drop support in an NSTableView (From: Chaz <email@hidden>)

  • Prev by Date: isKindOfClass vs. loading bundles: nope?!?!?!?
  • Next by Date: Re: Filename
  • Previous by thread: drag-and-drop support in an NSTableView
  • Next by thread: Quicktime for Java And Cocoa
  • Index(es):
    • Date
    • Thread