Re: Issue sorting an NSTableView
Re: Issue sorting an NSTableView
- Subject: Re: Issue sorting an NSTableView
- From: Seth Willits <email@hidden>
- Date: Thu, 24 Jul 2008 12:29:26 -0700
On Jul 24, 2008, at 8:48 AM, Timothy Reaves wrote:
The documentation for NSTableView setSortDescriptors: starts off
with
"A table column is considered sortable if it has a sort descriptor
that specifies the sorting ". I find this a bit puzzling as this is
the documentation for NSTableView, not NSTableColumn.
What is the correct formulation of the array of sort descriptors
when
calling this method? I can't seem to find an example.
Pass any array of sort descriptors; one descriptor with the identifier
of the column for the sorting it describes, for each column that will
be sorted. That's it.
--
Seth Willits
_______________________________________________
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