Disabling sorting in a programatically generated table
Disabling sorting in a programatically generated table
- Subject: Disabling sorting in a programatically generated table
- From: Ken Tozier <email@hidden>
- Date: Fri, 30 Jan 2009 03:59:07 -0500
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?
Thanks for any help
_______________________________________________
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