• 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: Ron Fleckner <email@hidden>
  • Date: Mon, 10 Sep 2007 18:43:12 +1000

Message: 16
Date: Sun, 9 Sep 2007 22:52:29 -0700
From: Todd Blanchard <email@hidden>
Subject: Dragging to reorder rows in table not working
To: "Cocoa-Dev (Apple)" <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

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.


Did you - (void)registerForDraggedTypes:(NSArray *)pboardTypes ??

Ron
_______________________________________________

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


  • Prev by Date: Re: Closing a window with a textview using keyboard
  • Next by Date: Re: Multiple One-to-One Core Data relationships & inverse
  • Previous by thread: Re: Dragging to reorder rows in table not working
  • Next by thread: confusing events
  • Index(es):
    • Date
    • Thread