Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Show/Hide columns in NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Show/Hide columns in NSTableView?



NSTableView only provide methods add and remove columns, not setting their visibility, not do NSTableColumn have any documented method for controling visibility.

Almighty Google do not provide much help either, 'NSTableView "hide column"', yields only five results.
One is interesting, a post to this list from 2002, stating that I could retain the column, remove it and add it later. But then I must remember it's position if the user have moved it and such. I think of this as a too common problem (Many applications have table views with configurable columns) not to have a more elegant solution.


Is there a more elegant solution to letting the user (And programatically) toggle columns on and off? Retaining as much information as possible?

// Fredrik Olsson
_______________________________________________
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




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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.