• 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: Filtering tableview problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filtering tableview problems


  • Subject: Re: Filtering tableview problems
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 23 Feb 2004 18:21:45 -0500

On Feb 23, 2004, at 1:37 PM, Francisco Tolmasky wrote:

This question has already been posted once, but with no avail. I'm having trouble filtering an nstableview with bindings. What happens is that the search field loses focus when the table view rearranges itself. Does anyone know a solution to this?


Yes. The docs have a task that covers this, but it has a bug. The solution is to remove the binding that has been created to the content, and add a line to the search: method before it rearranges the objects to get the stringValue from the sender..


searchString=[sender stringValue];

This is corrected in the next release of the docs.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Filtering tableview problems
      • From: Scott Anguish <email@hidden>
References: 
 >Filtering tableview problems (From: Francisco Tolmasky <email@hidden>)

  • Prev by Date: Re: NSSearchField search template through IB
  • Next by Date: Re: Table sorting in panther
  • Previous by thread: Re: Filtering tableview problems
  • Next by thread: Re: Filtering tableview problems
  • Index(es):
    • Date
    • Thread