Re: NSTableColumn setHidden: and IB
Re: NSTableColumn setHidden: and IB
- Subject: Re: NSTableColumn setHidden: and IB
- From: Steven Riggs <email@hidden>
- Date: Sun, 26 Apr 2009 00:54:05 -0400
Make a class with IBOutlets to each tableColumn and in code, tell the
tableColumns if they should be hidden. I'm not aware of an IB only
solution for this one.
Steven Riggs
On Apr 26, 2009, at 12:42 AM, David Scheidt <email@hidden> wrote:
I've got a 10.5 app, which has a bunch of NSTableViews. I'd like to
allow the user to choose which columns appear in the tableviews,
using a popup contextual menu. so, that should be a simple matter
of defining the NSTableColumns, establishing their bindings, making
a menu of the table view's header, and hooking that up to the
setHidden: method of the NSTableColumns; however, there doesn't
appear to be a way to do that in IB. Am I missing something? (I
hope I am.) How do I do this?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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