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: 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