• 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
NSTableView & drop on cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView & drop on cell


  • Subject: NSTableView & drop on cell
  • From: arri <email@hidden>
  • Date: Sat, 5 May 2007 14:41:35 +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


  • Follow-Ups:
    • Re: NSTableView & drop on cell
      • From: arri <email@hidden>
References: 
 >Two simple questions regarding Core-Data (From: "Hell's KItchen Hell's KItchen" <email@hidden>)
 >Re: Two simple questions regarding Core-Data (From: "Marcus S. Zarra" <email@hidden>)
 >Re: Two simple questions regarding Core-Data (From: Robert Walker <email@hidden>)
 >Re: Two simple questions regarding Core-Data (From: "Marcus S. Zarra" <email@hidden>)
 >Re: Two simple questions regarding Core-Data (From: Robert Walker <email@hidden>)
 >Re: Two simple questions regarding Core-Data (From: "Marcus S. Zarra" <email@hidden>)
 >Re: Two simple questions regarding Core-Data (From: Robert Walker <email@hidden>)
 >Re: Two simple questions regarding Core-Data (From: Steve Israelson <email@hidden>)

  • Prev by Date: Re: Model change behind NSTreeController's back
  • Next by Date: Re: NSTableView & drop on cell
  • Previous by thread: NSTableView: drop on cell
  • Next by thread: Re: NSTableView & drop on cell
  • Index(es):
    • Date
    • Thread