• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Initial sort column of NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Initial sort column of NSTableView (From: Arthur Clemens <email@hidden>)

  • Prev by Date: Re: Initial sort column of NSTableView
  • Next by Date: setDoubleAction - Don't want it triggered when double clicking a column header.
  • Previous by thread: Re: Initial sort column of NSTableView
  • Next by thread: setDoubleAction - Don't want it triggered when double clicking a column header.
  • Index(es):
    • Date
    • Thread