• 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 and expanded items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView and expanded items


  • Subject: Re: NSOutlineView and expanded items
  • From: j o a r <email@hidden>
  • Date: Fri, 28 Feb 2003 13:56:48 +0100

Shouldn't this method take care of the recursive aspect of the question?

- (void)expandItem:(id)item expandChildren:(BOOL)expandChildren

j o a r


On Friday, Feb 28, 2003, at 13:46 Europe/Stockholm, Emma Whan wrote:

You need to use the NSOutlineView method expandItem:

To initially expand all items, just iterate through every item and call
expandItem: on each one.

In the code you use to add a new item just call expandItem: on the item
after you add it.

Date: Thu, 27 Feb 2003 18:05:54 +0100
Subject: NSOutlineView and expanded items
From: Dix Lorenz <email@hidden>
To: email@hidden

Hi,

I have a problem using an NSOutlineView: I'd like some (actually all)
items to be initially expanded. Also while running the program I am
adding new items which also should be expanded. I haven't found
anything in the datasource or the delegate to do this...

Thanks,
Dix
_______________________________________________
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.
_______________________________________________
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.

References: 
 >Re: NSOutlineView and expanded items (From: Emma Whan <email@hidden>)

  • Prev by Date: Re: NSOutlineView and expanded items
  • Next by Date: Re: PBI: tear-off tab items?
  • Previous by thread: Re: NSOutlineView and expanded items
  • Next by thread: Re: NSOutlineView and expanded items
  • Index(es):
    • Date
    • Thread