Saving state of outlineView AND Expanding all items
Saving state of outlineView AND Expanding all items
- Subject: Saving state of outlineView AND Expanding all items
- From: Jan Van Tol <email@hidden>
- Date: Mon, 10 Feb 2003 23:14:52 -0600
Hello list,
Can someone suggest a good method to save the expanded state of outline
view items? Well, actually that part is easy - the hard part is when
to tell them to expand. I've checked the archives, and it appears
there are issues with expanding the proper items in willDisplayCell, so
thats out. I can't use the itemForPersistentObject stuff. This would
be easy if there was some sort of
OutlineViewDidFinishLoadingDataNotification or something.
Could I perhaps bend itemForPersistentObject to my ways somehow? Say I
have a dictionary. The keys are strings representing an outlineView
item, the values are true or false. If the outlineView could check
that dictionary, and expand items based on what it finds there it would
be ideal.
Oh, and failing that, I would like to be able to make an outline expand
all it's items when it loads them.
Thanks in advance!
-Jan Van Tol
_______________________________________________
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.