• 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: Dragging to reorder rows in table not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging to reorder rows in table not working


  • Subject: Re: Dragging to reorder rows in table not working
  • From: Todd Blanchard <email@hidden>
  • Date: Sun, 9 Sep 2007 23:45:50 -0700

Doh - that was it.  Thanks!

On Sep 9, 2007, at 11:13 PM, apparao wrote:

Hi Todd,

Did you set the Drag data type of your table view by using registerForDraggedTypes method ?

Read the Drag& Drop in Table view Document @ file://localhost/ Developer/ADC Reference Library/documentation/Cocoa/Conceptual/ TableView/index.html

Regards,
- Apparao.




On 10-Sep-07, at 11:22 AM, Todd Blanchard wrote:

What am I missing? My table data source implements tableView:writeRowsWithIndexes:toPasteboard: and returns YES to indicate it wants to allow dragging. This gets called and I can drag an image representing the row around.

But tableView:validateDrop:proposedRow:proposedDropOperation: is never called and neither is tableview:acceptDrop:row:dropOperation:

Any ideas why?  I just want to allow reordering in the same table.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
40effigent.net


This email sent to email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Dragging to reorder rows in table not working (From: Todd Blanchard <email@hidden>)
 >Re: Dragging to reorder rows in table not working (From: apparao <email@hidden>)

  • Prev by Date: Re: Creating NSSplitView with Finder Column View Behavior
  • Next by Date: Re: Closing a window with a textview using keyboard
  • Previous by thread: Re: Dragging to reorder rows in table not working
  • Next by thread: Re: Dragging to reorder rows in table not working
  • Index(es):
    • Date
    • Thread