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: Graham Cox <email@hidden>
- Date: Sun, 17 Aug 2008 23:25:23 +1000
On 17 Aug 2008, at 11:06 pm, Jason Wiggins wrote:
On 16/08/2008, at 11:26 PM, Graham Cox wrote:
OK, very simple: it was set in the nib. I didn't realise that
presetting this in the nib was possible, so I must have set it up
that way more or less by accident. OK, my understanding has
improved... (Thanks!)
Hi, I have been following this thread and was wondering how you
actually set the sort descriptor in the nib. I've looked at the
bindings tab and tried different things but haven't yet got it to
work.
I'm not using bindings - not sure in what way that would be different.
Set a sort descriptor for a column by entering a key and selector in
the relevant fields of the inspector (if you just enter a key, it
enters 'compare:' as the selector for you, but you can change it).
To set the initial sort descriptor click on the column header until it
highlights - simple as that. However to get to that point you may have
to click through several levels of the selection hierarchy - in my
case my table is within a custom view within a split view so getting
the column to highlight takes about six clicks, which is why it eluded
me for a while there.
hth,
Graham
_______________________________________________
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