Sorting a table using multiple sort descriptors while using bindings...
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