• 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: Table column header not highlighted at first
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Table column header not highlighted at first (From: Graham Cox <email@hidden>)
 >Re: Table column header not highlighted at first (From: Corbin Dunn <email@hidden>)
 >Re: Table column header not highlighted at first (From: Graham Cox <email@hidden>)
 >Re: Table column header not highlighted at first (From: Graham Cox <email@hidden>)
 >Re: Table column header not highlighted at first (From: Jason Wiggins <email@hidden>)

  • Prev by Date: Re: Table column header not highlighted at first
  • Next by Date: Re: setNilValueForKey: not called when Number Formatter is nil
  • Previous by thread: Re: Table column header not highlighted at first
  • Next by thread: Re: Table column header not highlighted at first
  • Index(es):
    • Date
    • Thread