• 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 column of NSTableView sorted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: initial column of NSTableView sorted


  • Subject: Re: initial column of NSTableView sorted
  • From: Philip Dow <email@hidden>
  • Date: Thu, 19 Jan 2006 21:18:45 +0100

Hi Paul,

Have you set an autosave name for the table in IB? That should take care of the sort key, although it won't handle the sort order. To do that, I believe you need to save a boolean or number value and then set the order from that during the nib's awake.

-Phil

On Jan 19, 2006, at 9:13 PM, Paul L. Gribble wrote:

I have a cocoa app using core data, that has in the main window a
NSTableView with of course several NSTableColumns including "DateStart",
"Amount", etc ...


My question is, I can't seem to find anywhere how to make a given column (in
this case the "Amount" column) be sorted by default when the app starts up.
It appears that no columns are sorted when the app starts up.


Thanks for any help,


_______________________________________________ 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


_______________________________________________ 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 column of NSTableView sorted (From: "Paul L. Gribble" <email@hidden>)

  • Prev by Date: initial column of NSTableView sorted
  • Next by Date: NSTextView & horizontal scrolling SOLVED?
  • Previous by thread: initial column of NSTableView sorted
  • Next by thread: Re: initial column of NSTableView sorted
  • Index(es):
    • Date
    • Thread