Table column bindings question
Table column bindings question
- Subject: Table column bindings question
- From: email@hidden
- Date: Sun, 22 Apr 2007 12:10:56 -0700
I have a core data project with three entities: Department, Manager,
and Employee. The Department is set as a to-many relationship to
Manager, and Manager is set as a to-many relationship to Employee.
Department is also set as a to-many relationship to Employee,
although I'm not sure if that is necessary. Inverse relationships
also exist. In the nib file, the Manager array controller is bound
to the content of the Department selection, and the Employee array
controller is bound to the content of the Manager selection. I have
a table of employees, and the 3 columns are employee name, manager,
and department. Manager and department are popup menus.
What I want is when an employee in the table is selected, and the
department popup menu is selected to a department, then only those
managers associated with the department should appear in the manager
popup. Change the department in the popup, and only those managers
associated with the new department should appear. But it seems I can
either display all the managers or none, regardless of what
department is chosen in the department popup. I can't seem to set
the manager table column bindings so that only those managers
associated with the chosen department appear. Any assistance
appreciated!
_______________________________________________
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