NSOutlineView not clearing data
NSOutlineView not clearing data
- Subject: NSOutlineView not clearing data
- From: Keith Wilson <email@hidden>
- Date: Sat, 11 Feb 2006 00:43:52 +1100
I have a master detail setup where the selected object in a TableView
triggers display in an OutlineView
The master consists of an NSArrayController that controls an NSTableView
The detail is a NSTreeController and an NSOutineView.
When I select an object in the master table the Outline view is
generated. OK but I have 2 problems.
Problem 1.
If I have expanded some of the items in the OutlineView and then
select another object in the master view then only the first object
is displayed in the OutlineView and the rest of the expanded data
(from the previous selectedObject) is not cleared from the OutlineView.
Problem 2
When I select an item in the master table I would like to
automatically expand (say) the first 3 levels when the OutlineView is
displayed.
I know how to do all this by subclassing the OutlineView (been there
done that) but how much of it can I do just in Interface Builder ?
Keith from DownUnder.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden