Re: NSOutlineView and expanded items
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.