• 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 Always Undesirably Selects First Row when It Loses Key Focus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView Always Undesirably Selects First Row when It Loses Key Focus


  • Subject: Re: NSTableView Always Undesirably Selects First Row when It Loses Key Focus
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 23 Oct 2009 16:38:15 -0700

On Fri, Oct 23, 2009 at 4:31 PM, Grant Erickson <email@hidden> wrote:
> Unlike the Network table, in my case there is no mandate that an item (i.e.
> row) always be selected. However, if there are no rows selected, when I hit
> the tab key to change the key focus from my table to the preferences search
> field, the table automatically, yet undesirably, selects the first row.

Have you bound the table view to an array controller with "avoids
empty selection" set?

--Kyle Sluder
_______________________________________________

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: NSTableView Always Undesirably Selects First Row when It Loses Key Focus
      • From: Grant Erickson <email@hidden>
References: 
 >NSTableView Always Undesirably Selects First Row when It Loses Key Focus (From: Grant Erickson <email@hidden>)

  • Prev by Date: NSTableView Always Undesirably Selects First Row when It Loses Key Focus
  • Next by Date: Making NSView auto resize to fit contents of NSTextView
  • Previous by thread: NSTableView Always Undesirably Selects First Row when It Loses Key Focus
  • Next by thread: Re: NSTableView Always Undesirably Selects First Row when It Loses Key Focus
  • Index(es):
    • Date
    • Thread