Re: NSOutlineview, data changing from outside the outlineview's events
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