• 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 a programatically generated table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Disabling sorting in a programatically generated table
      • From: Keary Suska <email@hidden>
  • Prev by Date: CComposition in CAOpenGLLayer
  • Next by Date: RE: QCComposition in CAOpenGLLayer
  • Previous by thread: CComposition in CAOpenGLLayer
  • Next by thread: Re: Disabling sorting in a programatically generated table
  • Index(es):
    • Date
    • Thread