changing cell controls in an NSOutlineView
changing cell controls in an NSOutlineView
- Subject: changing cell controls in an NSOutlineView
- From: "William Irving Zumwalt" <email@hidden>
- Date: Wed, 27 Dec 2006 17:28:30 -0600
I have a simple NSOutlineView where I load the data to it as a
name/value classes of nodes that get set like ...
type = [[NetTopology alloc] init];
[type setName:@"Type"];
[type setValue:[config netArchitecture]];
[rootNode addChild:type];
[type release];
...
[outlineView reloadItem:rootNode reloadChildren:YES];
[outlineView expandItem:rootNode expandChildren:YES];
Now what I'd like to do is change only specific cells to an NSComboBox
or other. Anyone know of any examples on how to do something like
this? For example, of the 15 child nodes in the outline view, I'd like
#3 and #8 to be NSComboBoxes.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden