I have an NSTableColumn in an NSTableView that has only an NSButtonCell(checkbox). When the user clicks the table column header I'd like it to sort the table items according to whether or not the checkbox is selected. so the end result is that all checked items are grouped together(and all unchecked are grouped together).
Any suggestions on how to do this? I'm aware of the the Sort Key field in the Attributes inspector, but it's not obvious to me whether or not this will help. I've also set the sort descriptors on the tableview's array controller but selection state isn't a property but is derived from from other information. Michael _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com