• 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: NSComboBox in NSTableView behaving strangely
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBox in NSTableView behaving strangely


  • Subject: Re: NSComboBox in NSTableView behaving strangely
  • From: Devarshi Kulshreshtha <email@hidden>
  • Date: Wed, 06 Jul 2011 17:24:57 +0530

same problem exists in NSPopUpButtonCell, it is changing the value in list
which appears on clicking it, as shown -

Original list: http://dl.dropbox.com/u/9999259/unique data.png

Changed list: http://dl.dropbox.com/u/9999259/redundant data.png

Bindings used in case of NSPopUpButtonCell are:

TableColumn with NSPopUpButtonCell -

Value Selection : Selected Value bind to -> Transactions, Controller
Key -> arrangedObjects,
Model Key Path -> relatedEntity.name

NSPopUpButtonCell

Value Selection : Content Values Bind to: Entities, Controller Key ->
arrangedObjects,
Model Key Path -> name

Note: code can be found here -
http://dl.dropbox.com/u/9999259/TableWithComboBoxExperi.zip

On Wed, Jul 6, 2011 at 11:44 AM, Quincey Morris <email@hidden
> wrote:

> On Jul 5, 2011, at 04:11, Devarshi Kulshreshtha wrote:
>
> > When I am selecting a value in dropdown list of combobox cell, it is
> > changing the value of previously selected value to newly selected value,
> as
> > shown in below figure(s) -
>
> A combo box is a kind of text field, not a kind of menu, so yes it's going
> to edit the property that it's bound to.
>
> Use a NSPopUpButton instead.
>
>
>


--
Thanks,

Devarshi
_______________________________________________

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: 
 >NSComboBox in NSTableView behaving strangely (From: Devarshi Kulshreshtha <email@hidden>)
 >Re: NSComboBox in NSTableView behaving strangely (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: finder eject images
  • Next by Date: Dynamically loading NIB files with a common stem
  • Previous by thread: Re: NSComboBox in NSTableView behaving strangely
  • Next by thread: Delay in reading cookie using NSHttpCookieStorage
  • Index(es):
    • Date
    • Thread