• 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: Pre-set sorting of NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pre-set sorting of NSTableView


  • Subject: Re: Pre-set sorting of NSTableView
  • From: Sean Gilbertson <email@hidden>
  • Date: Fri, 29 Oct 2004 09:01:57 -0500


Ohh, well maybe this will help: NSArrayController#setSortDescriptor:
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/ObjC_classic/Classes/NSArrayController.html#//apple_ref/doc/uid/20002042/BCIGGDHD>

On Fri, Oct 29, 2004 at 07:46:11AM +0200, Peter Schmidt wrote:
> Am 28.10.2004 um 23:46 schrieb Sean Gilbertson:
>
> > You'd have to implement it in your data source. That is, you'd have
> >to sort the data yourself; the UI won't do it for you. But if you
> >have 10.3, you can use a Controller to automatically link data to the
> >UI. The controllers will even update and sort automatically. They
> >are truly awesome.
>
> Yes, I know. :-)
> I'm using NSArrayControllers and the sorting works perferct. But if I
> displaying a window the first time, it's not sorted and the
> tablecolumn-header (not the entire column) isn't marked. How can I
> trigger this?
>
>
> Greetings,
> Peter
>
> _______________________________________________
> 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

--
Sean Gilbertson
IT Systems/Software Developer
_______________________________________________
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: Pre-set sorting of NSTableView
      • From: Peter Schmidt <email@hidden>
References: 
 >Pre-set sorting of NSTableView (From: Peter Schmidt <email@hidden>)
 >Re: Pre-set sorting of NSTableView (From: Sean Gilbertson <email@hidden>)
 >Re: Pre-set sorting of NSTableView (From: Peter Schmidt <email@hidden>)

  • Prev by Date: Re: Two synchronized NSMovieViews
  • Next by Date: Const help
  • Previous by thread: Re: Pre-set sorting of NSTableView
  • Next by thread: Re: Pre-set sorting of NSTableView
  • Index(es):
    • Date
    • Thread