Show/Hide columns in NSTableView?
Show/Hide columns in NSTableView?
- Subject: Show/Hide columns in NSTableView?
- From: Fredrik Olsson <email@hidden>
- Date: Thu, 27 Jul 2006 10:37:59 +0200
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