• 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
Saving state of outlineView AND Expanding all items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Saving state of outlineView AND Expanding all items SOLVED
      • From: Jan Van Tol <email@hidden>
  • Prev by Date: Re: Problems with NSSocketPort
  • Next by Date: Re: Problems saving NSDictionary with writeToFile
  • Previous by thread: Re: Finding an application ?
  • Next by thread: Re: Saving state of outlineView AND Expanding all items SOLVED
  • Index(es):
    • Date
    • Thread