Re: Sorting NSTableView on two keys
Re: Sorting NSTableView on two keys
- Subject: Re: Sorting NSTableView on two keys
- From: Corbin Dunn <email@hidden>
- Date: Fri, 11 Nov 2005 16:09:39 -0800
So can I still guarantee that when the user clicks the column
header, the
sorting stays accurate on the other columns?
It depends on how you have things setup, but in general, yes. The sort
descriptors just pile up to allow sub-sorting. Unfortunately, there is
no UI to indicate this on tableview.
I guess there are two levels of sorting going on here - one at the
TableView
and one at the ArrayController levels??
Well, the tableview just uses the sort descriptors.
Trygve
PS: If Apple is listening, an example of multi-key/column sorting
would be
nice!
What exactly do you need to know how to do? it is really easy to
provide an array of sort descriptors; it almost doesn't seem worth
writing a one-line example for that! I must be not understanding
exactly what you need to know...elaborate and I'll see what i can do :)
-corbin
_______________________________________________
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