Re: NSOutlineView and expanded items
Re: NSOutlineView and expanded items
- Subject: Re: NSOutlineView and expanded items
- From: Emma Whan <email@hidden>
- Date: Fri, 28 Feb 2003 23:46:39 +1100
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.