Re: Dragging to reorder rows in table not working
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