• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Show/Hide columns in NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Show/Hide columns in NSTableView?
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: NSLayoutManager additional temporary attributes
  • Next by Date: Re: universal/intel zlib in framework
  • Previous by thread: Coredata and NSOutlineView / NSTreeController
  • Next by thread: Re: Show/Hide columns in NSTableView?
  • Index(es):
    • Date
    • Thread