• 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: NSTableView Selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView Selection


  • Subject: Re: NSTableView Selection
  • From: Randall Meadows <email@hidden>
  • Date: Fri, 12 Dec 2008 12:05:22 -0700

On Dec 12, 2008, at 11:02 AM, David Blanton wrote:

How do I keep the first row in a table view from being selected when the table first loads?

The issue is that to get a selection did change for the first row I have to first select a different row because the first row is 'auto selected' when the table first loads.

NSTableView delegate method -tableView:shouldSelectRow:? Return NO when row == 0.
_______________________________________________


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


References: 
 >NSTableView Selection (From: David Blanton <email@hidden>)

  • Prev by Date: Re: KVO and CALayers
  • Next by Date: Re: NSTableView Selection
  • Previous by thread: NSTableView Selection
  • Next by thread: Re: NSTableView Selection
  • Index(es):
    • Date
    • Thread