binding selection in tableview to model
binding selection in tableview to model
- Subject: binding selection in tableview to model
- From: Alan Donsky <email@hidden>
- Date: Tue, 17 Feb 2004 21:06:30 -0600
Is there a way to bind the selection of a table view to a model? I
know this can be done with a popup menu using the selectedObject
binding, but i want an instance variable in my model (i.e.
selectedGroup) to be set to the object represented by the tableview.
I hope this makes sense.
I think the problem lies in the fact that tablevirews represent to-many
relationships while popup buttons represent to-one relationships, but i
am not sure.
I have tried creating a new object controller which i can bind to the
selectedObject instance variable but i am not sure how to bind it to
the array controller for the tableview.
thanks
alan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.