• 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
resetting a table to defaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

resetting a table to defaults


  • Subject: resetting a table to defaults
  • From: John Spicer <email@hidden>
  • Date: Mon, 22 Nov 2004 08:58:02 -0600

I have a table with columns which the user can resize, reorder, etc.

I want to be able to reset them to the factory defaults. I assume this is done by deleting the prefs for the table, which is what I'm doing.

However, I've been unable to force the table to redraw itself to show the defaults. The only way that works is quitting and restarting the app.

I've tried these calls to force the change to take place but they don't work:

[ledger reloadData];
[ledger setNeedsDisplay:TRUE];

What have I missed?
 _______________________________________________
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

  • Prev by Date: Re: NSPanel with just a close button & title on title bar?
  • Next by Date: What to do if Apple doesn't answer to support incident?
  • Previous by thread: openFile vs launchApplication
  • Next by thread: What to do if Apple doesn't answer to support incident?
  • Index(es):
    • Date
    • Thread