Re: NSTableView with PopUpButtonCell column with different content per row
Re: NSTableView with PopUpButtonCell column with different content per row
- Subject: Re: NSTableView with PopUpButtonCell column with different content per row
- From: Kyle Sluder <email@hidden>
- Date: Thu, 18 Feb 2010 12:57:39 -0800
On Thu, Feb 18, 2010 at 12:38 PM, Sean McBride <email@hidden> wrote:
> So in the 'OS Version' column, I want the popup's contents to be either
> one list or another list depending on 'OS Name' of any given row.
>
> Any suggestions?
Hook yourself up as the delegate of the column's popup button cell's
menu, and implement -menuNeedsUpdate: to populate the menu with the
correct set of items depending on the selected item.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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