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: "Theodore H. Smith" <email@hidden>
- Date: Mon, 6 Jun 2005 19:54:51 +0100
Hi Corbin,
I saw those, but I didn't understand them. I don't think I'll
understand them without an compilable example.
The items are saved, how? Saved to file, or saved across reloading
the data? I'm not sure why what I'm saving needs a name, also. If it
was just being saved across reloading of data, then it would all be
in RAM, and not need a file name.
On 6 Jun 2005, at 19:39, Corbin Dunn wrote:
I tried reloadData, but that lost all the expansion and selection.
You may want to look into this method below::
--corbin
autosaveExpandedItems
- (BOOL)autosaveExpandedItems
Returns whether the expanded items in the receiver are
automatically saved.
The outline view information is saved separately for each user and
for each application that user uses. Note that if autosaveName
returns nil, this setting is ignored, and outline information isn’t
saved.
See Also: – autosaveName (NSTableView), – autosaveTableColumns
(NSTableView), – setAutosaveExpandedItems:
--
http://elfdata.com/plugin/ Industrial strength string processing,
made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
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