Disabling sorting in NSTableView
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.