On Jan 30, 2009, at 1:59 AM, Ken Tozier wrote:

Hi

I need to completely disable sorting in a programatically generated table, but have found that no matter what I try, clicking on the column header sorts the table. I've set the following sort descriptors to nil

// On the table
[table setSortDescriptors: nil];

// On the column
[column setSortDescriptorPrototype: nil];

// And on the array controller for each column
[controller setSortDescriptors: nil];
[controller setAutomaticallyRearrangesObjects: NO];

How do you shut down all sorting on a table?


When you call -bind: do you pass NSCreatesSortDescriptorBindingOption NO?

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to