Re: changing cell controls in an NSOutlineView
Re: changing cell controls in an NSOutlineView
- Subject: Re: changing cell controls in an NSOutlineView
- From: James Bucanek <email@hidden>
- Date: Thu, 28 Dec 2006 07:53:43 -0700
William Irving Zumwalt wrote on Wednesday, December 27, 2006:
>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.
I think this is basically what you want.
<http://www.stepwise.com/Articles/Technical/2003-12-20.01.html>
You'll have to adapt the code from NSTableView to NSOutlineView, but the basic technique is the same. Essentially, the NSCell needs to map an instance of a row with an NSView.
--
James Bucanek
_______________________________________________
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