Re: NSOutlineView not clearing data (SOLVED)
Re: NSOutlineView not clearing data (SOLVED)
- Subject: Re: NSOutlineView not clearing data (SOLVED)
- From: Keith Wilson <email@hidden>
- Date: Sat, 11 Feb 2006 14:17:44 +1100
Fixed it, sorry to bother you, Keith
On 11/02/2006, at 12:43 AM, Keith Wilson wrote:
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:
40bigpond.net.au
This email sent to email@hidden
_______________________________________________
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