Re: Bindings not carrying through on additional table rows
Re: Bindings not carrying through on additional table rows
- Subject: Re: Bindings not carrying through on additional table rows
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 1 Dec 2004 13:41:14 -0800
On Dec 1, 2004, at 6:29 AM, J. Scott Anderson wrote:
I have a simple NSTable with eight properties (columns) defined. My
bindings work great for the first row. I have two buttons bound so
that they add and remove rows and they work fine. However, the new
rows do not work as the first row does. Can anyone tell me where I
missed the boat?
The column is bound to the Value section with the name of the method
that is being used to compute the simple math (adding, multiplying,
etc.).
What are the actual bindings for the columns? It sounds like you may
have bound the column value to:
[Array Controller].selection.attributeName
?
If so, it should be:
[Array Controller].arrangedObjects.attributeName
See various examples at:
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden