• 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
Hiding & Showing Table View Columns?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hiding & Showing Table View Columns?


  • Subject: Hiding & Showing Table View Columns?
  • From: Karl Moskowski <email@hidden>
  • Date: Sun, 26 Nov 2006 13:14:42 -0500

I've been trying to figure out a bindings-safe way hide and show columns in a Core Data-fed NSTableView.

Googling around, I found Malcolm Crawford's page on Cocoa Bindings Examples and Hints at <http://homepage.mac.com/mmalc/CocoaExamples/ controllers.html>. There, he writes, "It is possible to add table columns dynamically to a table view, and to establish bindings on the fly. In many cases, however, if it's possible to do, it is likely to be easier simply to create and bind the full table view in Interface Builder and hide those columns you don't want."

I've laid out my table view with all the columns showing as he suggested, but I can't find the IB setting or binding to actually hide a column. I tried setting the both the column's size and minimum size to 0, but a sliver of column still shows.

Am I missing something? Or am I taking the wrong approach altogether?

Thanks.

--Karl <email@hidden>



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Prev by Date: Re: NSTextView and Shrinking Insertion Points
  • Next by Date: Re: Saving a core data model to persistent store makes application hang
  • Previous by thread: [Solved] Re: Saving a core data model to persistent store makes application hang
  • Next by thread: Re: Hiding & Showing Table View Columns?
  • Index(es):
    • Date
    • Thread