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

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


  • Subject: Re: How to force an initial column sort with NSTableView and controller?
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 22 Jun 2006 08:15:13 -0400


Check out the documentation for NSTableColumn. Specifically: - setSortDescriptorPrototype: ...


--
I.S.


On Jun 22, 2006, at 5:18 AM, Alexander Lamb wrote:

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:
40gmail.com


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
  • Follow-Ups:
    • Re: How to force an initial column sort with NSTableView and controller?
      • From: Alexander Lamb <email@hidden>
References: 
 >How to force an initial column sort with NSTableView and controller? (From: Alexander Lamb <email@hidden>)

  • Prev by Date: Re: Tabbing between all widgets without changing user preferences
  • Next by Date: undoManagerForTextView:
  • Previous by thread: How to force an initial column sort with NSTableView and controller?
  • Next by thread: Re: How to force an initial column sort with NSTableView and controller?
  • Index(es):
    • Date
    • Thread