Selecting default NSTableView column with bindings?
Selecting default NSTableView column with bindings?
- Subject: Selecting default NSTableView column with bindings?
- From: Rick Mann <email@hidden>
- Date: Thu, 28 Mar 2013 16:48:54 -0700
Hi.
I have an NSTableView that binds to an NSArrayController that binds to an NSMutableArray property I have. I sort that array each time it's modified (it's small, and modifications are infrequent).
The NSTableView displays items in the right order, but when it is first displayed, no column is selected (no column header is blue). The sort that's done is primarily on one column, and secondarily on another.
If you do click on a column, it seems to behave as expected.
Two questions:
- Is there a way to cause the UI to show that column as selected?
- Is there a way to ensure that whenever that column is selected, the sort happens over two properties?
Thanks,
--
Rick
_______________________________________________
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