• 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
Disabling sorting in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disabling sorting in NSTableView


  • Subject: Disabling sorting in NSTableView
  • From: Brian Webster <email@hidden>
  • Date: Tue, 11 Nov 2003 15:55:56 -0600

I have an NSTableView in a pretty straightforward configuration with an NSArrayController, with the table columns bound to various properties of the arrangedObjects key of the controller. My table columns are set up so that they have no identifier and no sort key, but when I click on one of the column headers in my app, it still sorts the table by the key being used to retrieve the values for the table. I also unchecked the "Editable" checkbox for each column, and I even programatically set the sortDescriptorPrototype for each column to nil, but it still sorts the columns when I click on the headers. How can I completely disable sorting for this table view while using NSController?

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Disabling sorting in NSTableView
      • From: James Dempsey <email@hidden>
  • Prev by Date: Re: Pure newbie :(
  • Next by Date: Two views of same text
  • Previous by thread: compiling problem (command line)
  • Next by thread: Re: Disabling sorting in NSTableView
  • Index(es):
    • Date
    • Thread