• 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
How to prevent clicks inside an NSCell in an NSTableView to change the selection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to prevent clicks inside an NSCell in an NSTableView to change the selection?


  • Subject: How to prevent clicks inside an NSCell in an NSTableView to change the selection?
  • From: Daniel Vollmer <email@hidden>
  • Date: Thu, 21 Dec 2006 23:37:39 +0100

Hi,

I've got an NSTableView (bound with an NSArrayController). One table column contains NSSliderCells, but modifying the slider always results in the selection of the row whose slider is being modified for the whole table view. I would like the selection to remain the same as it was before the slider was clicked.
- (BOOL)tableView:(NSTableView *)aTableView shouldSelectRow:(int) rowIndex is getting called, but at that point I have no information what resulted in the change of the selection.


Is there a way to prevent clicks inside a particular NSTableColumn to change the selection of the NSTableView?

Thanks,
	Daniel.
_______________________________________________

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


  • Prev by Date: Re: crashes
  • Next by Date: Tools for vim fanatics: RunVim, applescript.vim
  • Previous by thread: Re: crashes
  • Next by thread: Tools for vim fanatics: RunVim, applescript.vim
  • Index(es):
    • Date
    • Thread