Re: initial column of NSTableView sorted
Re: initial column of NSTableView sorted
- Subject: Re: initial column of NSTableView sorted
- From: Philip Dow <email@hidden>
- Date: Thu, 19 Jan 2006 21:18:45 +0100
Hi Paul,
Have you set an autosave name for the table in IB? That should take
care of the sort key, although it won't handle the sort order. To do
that, I believe you need to save a boolean or number value and then
set the order from that during the nib's awake.
-Phil
On Jan 19, 2006, at 9:13 PM, Paul L. Gribble wrote:
I have a cocoa app using core data, that has in the main window a
NSTableView with of course several NSTableColumns including
"DateStart",
"Amount", etc ...
My question is, I can't seem to find anywhere how to make a given
column (in
this case the "Amount" column) be sorted by default when the app
starts up.
It appears that no columns are sorted when the app starts up.
Thanks for any help,
_______________________________________________
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
_______________________________________________
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