• 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: Type selecting in one column but not another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView: Type selecting in one column but not another


  • Subject: Re: NSTableView: Type selecting in one column but not another
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 29 Apr 2009 12:04:38 -0400

On Wed, Apr 29, 2009 at 11:43 AM, Eric Gorr <email@hidden> wrote:
> I was wondering if it was possible to get finer control over what type
> selecting searches in a row.
>
> I have two columns in my table which both contain text. It only makes sense
> to match what the user is typing to the text found in the first column.
>
> Unfortunately, I cannot seem to find a way to disable type selection on the
> second column. It seems to be an all-or-nothing feature.

  Have you read the documentation? The
-tableView:typeSelectStringForTableColumn:row: method documentation
says:

"Return Value
A string that is used in type select comparison for row and
tableColumn. Return nil if the row or tableColumn should not be
searched."

--
I.S.
_______________________________________________

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: Type selecting in one column but not another (From: Eric Gorr <email@hidden>)

  • Prev by Date: NSTableView: Type selecting in one column but not another
  • Next by Date: Re: NSTableView: Type selecting in one column but not another
  • Previous by thread: NSTableView: Type selecting in one column but not another
  • Next by thread: Re: NSTableView: Type selecting in one column but not another
  • Index(es):
    • Date
    • Thread