• 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
Sorting a table using multiple sort descriptors while using bindings...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sorting a table using multiple sort descriptors while using bindings...


  • Subject: Sorting a table using multiple sort descriptors while using bindings...
  • From: "Shawn Erickson" <email@hidden>
  • Date: Mon, 10 Apr 2006 17:49:34 -0700

What is the recommended way (I assume one exists that hasn't clicked
in my head) to get a table view to sort using multiple sort
descriptors when the table view is bound to a array controller
(content, selectionIndexes, and sortDescriptors) and using table
column sort prototypes?

Basically I have sort descriptor prototype defined in IB for table
view columns and the table view resorts based on those prototypes when
you click in the table header... however regardless of which column
sort descriptor prototype is active I always want two sort descriptors
to be used... first descriptor should be that of the column the user
wants to sort by (header click sorting) and second descriptor should
be a record id that is not exposed by any column in the table view.

-Shawn
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Sorting a table using multiple sort descriptors while using bindings...
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Re: Cocoa Books
  • Next by Date: Re: Cocoa Books
  • Previous by thread: MEETING: Chicago - CAWUG April 11th
  • Next by thread: Re: Sorting a table using multiple sort descriptors while using bindings...
  • Index(es):
    • Date
    • Thread