• 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
Re: NSTableView with PopUpButtonCell column with different content per row
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSTableView with PopUpButtonCell column with different content per row (From: "Sean McBride" <email@hidden>)

  • Prev by Date: NSTableView with PopUpButtonCell column with different content per row
  • Next by Date: Re: NSTableView with PopUpButtonCell column with different content per row
  • Previous by thread: NSTableView with PopUpButtonCell column with different content per row
  • Next by thread: Re: NSTableView with PopUpButtonCell column with different content per row
  • Index(es):
    • Date
    • Thread