• 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: NSOutlineview, data changing from outside the outlineview's events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineview, data changing from outside the outlineview's events


  • Subject: Re: NSOutlineview, data changing from outside the outlineview's events
  • From: Corbin Dunn <email@hidden>
  • Date: Mon, 6 Jun 2005 17:23:04 -0700

Is that the simplest way of doing this? If saving the expansion to a file was the only way, that means I now must handle cases where the expansion is saved, but I don't really want it saved.


Well, the thing is, if you call "reloadData", the current scroll state and expanded state should stay the same. However, if your "parent" objects (the ones containing children) change, then the expanded state information will be lost.

Maybe you can rework your data model to make sure the parent objects don't really change?

--corbin
_______________________________________________
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


  • Follow-Ups:
    • Re: NSOutlineview, data changing from outside the outlineview's events
      • From: "Theodore H. Smith" <email@hidden>
References: 
 >NSOutlineview, data changing from outside the outlineview's events (From: "Theodore H. Smith" <email@hidden>)
 >Re: NSOutlineview, data changing from outside the outlineview's events (From: Corbin Dunn <email@hidden>)
 >Re: NSOutlineview, data changing from outside the outlineview's events (From: "Theodore H. Smith" <email@hidden>)
 >Re: NSOutlineview, data changing from outside the outlineview's events (From: Corbin Dunn <email@hidden>)
 >Re: NSOutlineview, data changing from outside the outlineview's events (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: osX86 and frameworks
  • Next by Date: Re: osX86 and frameworks
  • Previous by thread: Re: NSOutlineview, data changing from outside the outlineview's events
  • Next by thread: Re: NSOutlineview, data changing from outside the outlineview's events
  • Index(es):
    • Date
    • Thread