resetting a table to defaults
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