Re: Core Data Bindings. weird behavior.
Re: Core Data Bindings. weird behavior.
- Subject: Re: Core Data Bindings. weird behavior.
- From: Quincey Morris <email@hidden>
- Date: Wed, 13 Aug 2008 15:37:31 -0700
On Aug 13, 2008, at 15:19, Sandro Noel wrote:
the colums is bound with Value, transaction.transactiontype.name
the combo box is content bound to a array controller that manages
the items i want to choose from in the combo box. as content values
(transactionTypes) name.
Try this:
Set the column's "content" binding to the transaction types array
controller, controller key "arrangedObjects", model key blank or "self".
Set the column's "contentValues" binding to the transaction types
array controller, controller key "arrangedObjects", model key "field1".
Set the column's "value" binding to the transactions (not transaction
types) array controller, controller key "arrangedObjects", model key
"transactionType.field1".
Don't bind the combo box cell's bindings to anything -- that's done
automatically for you every time the cell is used.
_______________________________________________
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