• 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: trouble keeping NSTableView sorted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trouble keeping NSTableView sorted


  • Subject: Re: trouble keeping NSTableView sorted
  • From: Wdyp <email@hidden>
  • Date: Fri, 7 Dec 2007 21:11:07 +0100

If you mean that you want a set sort order that the user can't change, then
bind the tablevew's selectionIndexes to the array controller. This will
disable column header sorting.

Untrue: by nib awakening the table will be sorted according to the bound
sort descriptors array but the user can still click on a column header to sort
the array differently.


If you want this to be disabled you’ve got to uncheck the Create sort descriptors
binding option for each column value binding.


Flofl._______________________________________________

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


  • Follow-Ups:
    • Re: trouble keeping NSTableView sorted
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: trouble keeping NSTableView sorted
  • Next by Date: Re: Best way to bind an Inspector to iVars/Properties?
  • Previous by thread: Re: trouble keeping NSTableView sorted
  • Next by thread: Re: trouble keeping NSTableView sorted
  • Index(es):
    • Date
    • Thread