NSTableView: drop on cell
NSTableView: drop on cell
- Subject: NSTableView: drop on cell
- From: arri <email@hidden>
- Date: Sat, 5 May 2007 10:09:54 +0200
hoi list,
i'm trying to implement cell-based highlighting in an NSTableView,
but have limited success so far.
also searches online and in documentation haven't been very
successful, so now i hope i'm just looking in the wrong direction and
someone can show me the right one;
the drawing-code is working fine, but so far i've tried to override
'highlightSelectionInClipRect' in a subclassed NSTableView,
and i tried to draw into a separate view/overlay directly from the
table's datasource method
tableView:validateDrop:info:proposedRow:proposedDropOperation, but
both methods only get called when the mouse drags from one ROW to the
other, and NOT when dragging from one COLUMN to the other, with the
result that the highlighting doesn't update when you move between
cells horizontally.
before creating a bruteforce-workaround, what would be the proper/
elegant way to achieve this?
thanks.
arri
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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