Skip navigation.
 
mlShow/Hide columns in NSTableView?
FROM : Fredrik Olsson
DATE : Thu Jul 27 10:37:59 2006

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

Related mailsAuthorDate
mlShow/Hide columns in NSTableView? Fredrik Olsson Jul 27, 10:37
mlRe: Show/Hide columns in NSTableView? Matt Neuburg Jul 27, 17:20
mlRe: Show/Hide columns in NSTableView? Cameron Hayne Jul 27, 18:43
mlRe: Show/Hide columns in NSTableView? Daniel Jalkut Jul 27, 22:07
mlRe: Show/Hide columns in NSTableView? Andreas Mayer Jul 27, 23:17
mlRe: Show/Hide columns in NSTableView? Fredrik Olsson Jul 28, 08:15
mlRe: Show/Hide columns in NSTableView? Corbin Dunn Jul 28, 17:43
mlRe: Show/Hide columns in NSTableView? Andreas Mayer Jul 29, 01:39
mlRe: Show/Hide columns in NSTableView? Corbin Dunn Jul 29, 03:01