• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bindings not carrying through on additional table rows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Bindings not carrying through on additional table rows (From: "J. Scott Anderson" <email@hidden>)

  • Prev by Date: RE: Swapping isa's (was Re: Hex Edit controls (resknife))
  • Next by Date: [Off] IOPMSchedulePowerEvent
  • Previous by thread: Bindings not carrying through on additional table rows
  • Next by thread: Highlight table row like Mail or Finder?
  • Index(es):
    • Date
    • Thread