I can't work out what the controllers and key paths should be.

The pulldown is bound as follows:

content: arrangedObjects[PurchaseOrder Array Controller(NSArray Controller)] content values: Purchase ORder Array Controller arrangedObjects.orderReference

The Table view has 6 columns, one of which is the Purchase Order number (as displayed in the pulldown)
that column is bound as:

content: arrangedObjects[PurchaseOrder Array Controller 13(NSArray Controller)]
content values: arrangedObjects.orderReference

does that help at all?

I created the master/details interface by alt-dragging from the data model. In the model there are purchaseORderItems that have the following attributes/relationships:

Attributes
qty
vendorsku

Relationships
product
purchaseOrder
shipment

The tableview shows all the purchaseOrderItems, and I want to filter it by the order reference in the pulldown above the tableview.


Many Thanks

Amy


On 28 Oct 2008, at 14:36, I. Savant wrote:

I have a pulldown button, and a tableview. They both seem to be displaying the correct data, but I'd like to filter the content of the tableview based on the selection in the pulldown button. I've tried all manner of binding
combinations but it doesn't seem to work.

  This is difficult to answer because you left out all the critical
details (controller names, key paths, etc.). All that is left is to
point you to the documentation:

Cocoa Bindings Programming Topics - Creating a Master-Detail Interface
http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaBindings/Tasks/masterdetail.html

--
I.S.

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to