Re: Using an alternate sort selector for a bound table column?
Re: Using an alternate sort selector for a bound table column?
- Subject: Re: Using an alternate sort selector for a bound table column?
- From: The Karl Adam <email@hidden>
- Date: Wed, 18 May 2005 20:21:05 -0400
In interface builder double click the column and you can edit the
attribrutes which contains the sortDescriptor for that column. You can
set the sort method, and direction.
-Karl
On 5/17/05, Jim Correia <email@hidden> wrote:
I have a NSTableView with two columns (first name and last name)
bound to an array. If I check the "Creates Sort Descriptor" checkbox
for the value binding it appears to use compare: for the selector. Is
there a way to tell the binding to use
localizedCaseInsensitiveCompare: instead?
Or must I create the sort descriptor myself and apply it to the table
column in awakeFromNib? Or a better solution?
Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden