• 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
Default sort column for NSTableView and NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Default sort column for NSTableView and NSArrayController


  • Subject: Default sort column for NSTableView and NSArrayController
  • From: James Wilson <email@hidden>
  • Date: Wed, 26 Oct 2005 15:00:30 +1000

Hi All,

I have an NSTableView with columns that I have bound to an NSArrayController for the value binding. Out of the box, sorting of the data in the table view by clicking on the column headers works great. But, I'm trying to work out how to set the 'default' sort method and not having much luck. I.e I want the table view to be sorted by one of the columns by default. Could anyone point me in the right direction?

Thanks,


------------------------[ www.lithiumcorp.com ]----- James Wilson phone: 02 8920 8711 CCIE #6662 mobile: 0422 22 3742

LithiumCorp
Network Design, Implementation and Management Systems
-----------------------------------------------------

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message and permanently delete it from your computer.


_______________________________________________ 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
  • Prev by Date: Re: Newbie Question: Find spaces inside a string
  • Next by Date: runModalForWindow
  • Previous by thread: Re: Newbie Question: Find spaces inside a string
  • Next by thread: Using an NSString as standard input to an NSTask
  • Index(es):
    • Date
    • Thread