Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.