Re: customizing visual feedback in nstableview
Re: customizing visual feedback in nstableview
- Subject: Re: customizing visual feedback in nstableview
- From: Francisco Tolmasky <email@hidden>
- Date: Thu, 18 Mar 2004 13:40:00 -0800
Let me restate what I'm trying to do. Try dropping some vcards onto
addressbook. No specific cell is highlighted, and no line is drawn
inbetween any, instead, since it is sorted, one big black box is drawn
around the entire table view, which is what I want.
On Mar 18, 2004, at 1:18 PM, Scott Anguish wrote:
On Mar 18, 2004, at 2:51 PM, Allan Odgaard wrote:
On 18. Mar 2004, at 11:11, Francisco Tolmasky wrote:
Is it possible to override the default visual feedback for dropping
objects onto table views? I would like it to become highlighted
instead of drawing a black line inbetween cells, since this does not
make sense with a sorted table view.
You can use setDropRow:dropOperation: to re-target the drop position.
You should then re-target it to where it fits into the sorted list.
This can become 'interesting' from a UI standpoint if you are dealing
with a Sorted list, or with a list that only shows a subset of the
original contents (filtered).
I'm not sure what the exact proper behavior is hig wise.
but it's something to think about..
Francisco Tolmasky
email@hidden
http://www-scf.usc.edu/~tolmasky/
_______________________________________________
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.