This is a migrated thread and some comments may be shown as answers.

I....am stuck :)

2 Answers 58 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 15 May 2012, 10:29 PM
I'm not sure how to handle this...I need to maintain a summary count if a checkbox is checked...it doesn't seem to update

http://jsfiddle.net/pRXaK/16/

2 Answers, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 16 May 2012, 03:13 PM
No, I'm putting this back...I'm PRETTY confident this doesn't work

You cant have a template have an item which is bound to a root property.

So if I have 3 items repeating from my template...and they all reference a root property.  Then I change that root property in an event somewhere...none of the templates bound to it update, although the viewmodel DOES update (viewed in firebug).  Doesn't matter if you use parent() or just the propertyname itself...does nothing

On initial bind the right value is there, but never changes after it
0
Russell
Top achievements
Rank 1
answered on 20 Apr 2015, 08:00 PM

Steve,

 I am encountering the exact same issue. Did you ever find a solution or a workaround?

Tags
MVVM
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Russell
Top achievements
Rank 1
Share this question
or