Re: Pre-set sorting of NSTableView
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