Re: Filtering tableview problems
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.