Hiding & Showing Table View Columns?
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