NSOutlineView -> Reloading ALL data
NSOutlineView -> Reloading ALL data
- Subject: NSOutlineView -> Reloading ALL data
- From: Clark Mueller <email@hidden>
- Date: Fri, 3 Jan 2003 02:55:09 -0700
Hello everyone,
I'm having some trouble forcing my table view to reload (replace, would
be a more accurate term) its root item. The code I have been using is:
[outlineView reloadItem:[outlineView itemAtRow:0]]
and
[outlineView reloadData] (a la NSTableView).
None of these does anything as far as changing the root item to my new
one (although it does indeed reload that item), so my best guess is
that NSOutlineView is saving its items and reloading them as required,
but not actually replacing them. The root item seems to be special, as
well, in that it's the only one that does this. If new items are added
under the root item, they are added by my call to reloadData, but
again, the root item does not change. Is there a way to force the view
to either reload this item, or to remove it and then add back the new
one?
TIA,
Clark Mueller
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.