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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to