• 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
Re: TableColumn visibility issue - SOLVED
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TableColumn visibility issue - SOLVED


  • Subject: Re: TableColumn visibility issue - SOLVED
  • From: Steve Cronin <email@hidden>
  • Date: Sun, 14 Oct 2007 15:46:04 -0500

Stephane;

THANK-YOU!!

I simply added:
...
[listTableView setAutosaveTableColumns:YES];
...

to the windowController -awakeFromNib and it now works great!!

Thanks!!
Steve

On Oct 14, 2007, at 3:26 PM, Stéphane Sudre wrote:

Do you save the positions of columns with the Auto-save name?

On dimanche, octobre 14, 2007, at 09:43  PM, Steve Cronin wrote:

I am trying to allow the user to manage which table columns are visible.
I have everything working very nicely within a given application launch.


I was under the impression that the tableView in the nib is archived
and not altered by any of the addTableColumn/removeTableColumn activity.
However, during a later application launch, when I read the [tv
tableColumns] in the tableView's -awakeFromNib what I find is that
only the columns which were visible when the application was last
terminated are there.


So when the user attempts to add back a column in this later run of
the application it fails because I no longer have anything which
points to the invisible columns....???

This is a non-document based app.
The table columns have bindings for value, fontName, fontSize, and
textColor.
[...]



_______________________________________________

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


References: 
 >Re: TableColumn visibility issue (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: TableColumn visibility issue
  • Next by Date: Re: Where are the flags resources?
  • Previous by thread: Re: TableColumn visibility issue
  • Next by thread: Re: TableColumn visibility issue
  • Index(es):
    • Date
    • Thread