Re: binding selection in tableview to model
Re: binding selection in tableview to model
- Subject: Re: binding selection in tableview to model
- From: Ryan Bates <email@hidden>
- Date: Wed, 18 Feb 2004 09:23:58 -0800
On Feb 17, 2004, at 7:06 PM, Alan Donsky wrote:
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.
Can't you add support for bindings to your model class and just bind an
instance to the array controller that's bound to the table view? Also,
I'm a little confused, are you trying to bind to all the selected
objects in a table view or just a single selected object in a table
view?
Ryan
_______________________________________________
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.