• 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: Disable Sorting in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable Sorting in NSTableView


  • Subject: Re: Disable Sorting in NSTableView
  • From: Quincey Morris <email@hidden>
  • Date: Sat, 25 Oct 2008 01:33:37 -0700

On Oct 24, 2008, at 20:57, Grant Limberg wrote:

Is it possible to disable the user's ability to resort the rows in a table by clicking on the column header? I have a table view that stores statistics in the order they are received by the program and shouldn't be resorted. Is there a way to do this without removing the column headers?

It's not obvious, but the way to do it is to uncheck the "creates sort descriptor" binding of the column's "Value" binding.



_______________________________________________

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: Disable Sorting in NSTableView
      • From: Grant Limberg <email@hidden>
References: 
 >Disable Sorting in NSTableView (From: Grant Limberg <email@hidden>)

  • Prev by Date: Re: GC app not releasing memory until click, even if I send
  • Next by Date: Re: Apple Developer Forums
  • Previous by thread: Disable Sorting in NSTableView
  • Next by thread: Re: Disable Sorting in NSTableView
  • Index(es):
    • Date
    • Thread