On Aug 19, 2009, at 14:21, Christopher Campbell Jensen wrote:

Column 2 is set to be pop up cells and is bound to MetaData.arrangedObjects.value

You've missed something, either in your problem description or in your code. A popup cell is going to involve (at a minimum) 2 bindings: one to specify the content of the menu, and one to specify which item in the menu is selected.

You're going to have to be more accurate with your terminology. What's the value for a dictionary name key? A name or an array of names? If an array of names, where does the current name come from? If a name, where does the array of names come from?

Bind the pop up cell's "content" binding to an array controller, or its "contentValues" binding to an array. Bind the pop up cell's "selectedValue" binding to a string representing the current name, or bind its "selectedIndex" binding to a number that represents the index of the current name.

You can't do it with just one binding.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to