• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
changing cell controls in an NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: changing cell controls in an NSOutlineView
      • From: James Bucanek <email@hidden>
    • Re: changing cell controls in an NSOutlineView
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: NSBezierPath from NSImage
  • Next by Date: Basic NSFont and string drawing question
  • Previous by thread: [Meeting] Toronto Area Cocoa and WebObjects Developer Group - January 9, 2007
  • Next by thread: Re: changing cell controls in an NSOutlineView
  • Index(es):
    • Date
    • Thread