• 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
How to force an initial column sort with NSTableView and controller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to force an initial column sort with NSTableView and controller?


  • Subject: How to force an initial column sort with NSTableView and controller?
  • From: Alexander Lamb <email@hidden>
  • Date: Thu, 22 Jun 2006 11:18:44 +0200

Hello list,

I have a core data application.

I would like to force the sort on a given column when the data is loaded in my NSArrayController and displayed in the NSTableView. Sorting works fine manually (e.g. when clicking on the column header) so I would like to do as if the used had clicked.

I know I can sort programmatically the objects in my controller, but I want to show the visual feedback of my column with the little sort triangle.

Thanks,

Alex
--
Alexander Lamb
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


  • Follow-Ups:
    • Re: How to force an initial column sort with NSTableView and controller?
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Tabbing between all widgets without changing user preferences
  • Next by Date: Re: [Q] setAllowedFileTypes: of NSOpenPanel
  • Previous by thread: Re: Tabbing between all widgets without changing user preferences
  • Next by thread: Re: How to force an initial column sort with NSTableView and controller?
  • Index(es):
    • Date
    • Thread