Re: Initial sort column of NSTableView
Re: Initial sort column of NSTableView
- Subject: Re: Initial sort column of NSTableView
- From: Wain <email@hidden>
- Date: Sat, 20 May 2006 17:53:38 +0100
Hi,
Have you set a sort descriptor?
http://gemma.apple.com/documentation/Cocoa/Reference/CocoaBindingsRef/
BindingsText/NSTableView.html#//apple_ref/doc/uid/NSTableView-
DontLinkElementID_544
or
http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSTableView.html#//apple_ref/occ/
instm/NSTableView/setSortDescriptors:
Wain
On 20 May 2006, at 17:29, Arthur Clemens wrote:
Hi list
I have a NSTableView bound to a data model. My headers are
"selected", "order", "title", etc. and these correspond to my data
model entity attributes.
Each time the table is displayed, the default sort column is
"title". How do I tell the table to sort on the key "order"?
Arthur Clemens
_______________________________________________
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