• 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
Re: Implementing a Slightly Unusual NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing a Slightly Unusual NSTableView


  • Subject: Re: Implementing a Slightly Unusual NSTableView
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 19 Apr 2008 08:29:01 -0700


On 19 Apr '08, at 3:05 AM, Peter Zegelin wrote:

However as things currently are, every time a checkbox is clicked on the row is selected as well, and the focus is shifted away from my drawing view to this tableview. What I would really like to happen is that if a user clicks on a checkbox then the row is *not* selected at all

I know what you mean … I had to implement this in the past, and it was a real pain (well, actually it was a real pain for the original implementor of the NSTableView subclass I swiped. But that source code's not public.)


I seem to recall that in 10.5 there is new API, either in NSTableView or NSActionCell, that makes this easy to do; but I just looked through both headers and can't find it. Does anyone else remember?

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: Implementing a Slightly Unusual NSTableView
      • From: Corbin Dunn <email@hidden>
References: 
 >Implementing a Slightly Unusual NSTableView (From: Peter Zegelin <email@hidden>)

  • Prev by Date: Re: running out of NSPipes
  • Next by Date: Re: Delete NSDefaults while running
  • Previous by thread: Implementing a Slightly Unusual NSTableView
  • Next by thread: Re: Implementing a Slightly Unusual NSTableView
  • Index(es):
    • Date
    • Thread