• 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
NSOutlineView -> Reloading ALL data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSOutlineView -> Reloading ALL data
      • From: Roarke Lynch <email@hidden>
  • Prev by Date: Re: objects.nib files and MacCVSPro
  • Next by Date: IP of a connected Mac
  • Previous by thread: Re: problems with loading nib files
  • Next by thread: Re: NSOutlineView -> Reloading ALL data
  • Index(es):
    • Date
    • Thread