• 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
Cocoa Bindings - Populating a popupcell in a tableview column with id passed.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa Bindings - Populating a popupcell in a tableview column with id passed.


  • Subject: Cocoa Bindings - Populating a popupcell in a tableview column with id passed.
  • From: "vibhatha v" <email@hidden>
  • Date: Mon, 11 Dec 2006 20:59:29 +0530

Hi,

I have a table view in which i am using NSPopUpButtonCell.

I am using Binding for doing so.

I have two ISTEntityList .

One holds all the possible values for the table column. It has two columns
my_value and my_display. ( Display will show the values to the user and
value is the id for each. )

Now in the second EntityList2, i have values for each column. It has the
column value actual_value.

First i set the contentValue = EntityList1.my_display  for the table column.
( Now all the values are getting populated.)

Now if my second entity had the display name directly, then i could have
used selectedValue = EntityList2.actual_display.

But the problem is, i have the id in the EntityList2. ( Id is an unique
integer value for identifying the display)

I have to display the EntityList1.my_display as the selected row in the
tableview for EntityList1.my_value = EntityList2.actual_value

Can anyone help me on this.

Thanks in Advance,
Vibhatha.
_______________________________________________

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: Cocoa Bindings - Populating a popupcell in a tableview column with id passed.
      • From: Keary Suska <email@hidden>
  • Prev by Date: RE: NSAttributedString question
  • Next by Date: Re: Cocoa Bindings - Populating a popupcell in a tableview column with id passed.
  • Previous by thread: Re: New Site: Cocoa Blogs
  • Next by thread: Re: Cocoa Bindings - Populating a popupcell in a tableview column with id passed.
  • Index(es):
    • Date
    • Thread