Re: Table column header not highlighted at first
Re: Table column header not highlighted at first
- Subject: Re: Table column header not highlighted at first
- From: Corbin Dunn <email@hidden>
- Date: Fri, 15 Aug 2008 08:42:21 -0700
On Aug 15, 2008, at 8:36 AM, Graham Cox wrote:
On 16 Aug 2008, at 1:27 am, Corbin Dunn wrote:
Howdy! call setSortDescriptors: on the tableview -- pass it the
[tableColumn sortDescriptorPrototype] in an array.
[]
Ah, never mind my first answer. Exactly how are you doing this
(code)? When? Are you sure you aren't setting it to nil by
accident? Are you using these
Well, that worked fine, so if you don't mind I will take your first
answer!
I need to figure out why the second table works even though I'm not
doing anything special (and none of the autosave stuff you mentioned
either).
It's possible that it could be set in the nib -- make sure it isn't an
empty space or anything. The sort descriptors are encoded with the
tableview; maybe you have it set to sort on that column in the nib on
the second table, but not the first. In fact, now that I think about
it, that might be another good way to set the initial sorting.
corbin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden