Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
changing cell controls in an NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

changing cell controls in an NSOutlineView



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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.