One of my listviews uses a template to populate the content rows:
When the user displays the same screen for a second time (Click 'Back' and click 'View jail cards' again) changes in the data-model are not reflected. The template works with the original data that it was bound to and ignores any change to the data-model
The following jsfiddle illustrates this:
http://jsfiddle.net/elgato/EhxUb/13/
Any ideas how to make the listview template reflect an updated data-model?
<ul data-template="tmpl_jailcard_comments" data-bind="source:jcComments" data-role="listview"> </ul>When the user displays the same screen for a second time (Click 'Back' and click 'View jail cards' again) changes in the data-model are not reflected. The template works with the original data that it was bound to and ignores any change to the data-model
The following jsfiddle illustrates this:
http://jsfiddle.net/elgato/EhxUb/13/
Any ideas how to make the listview template reflect an updated data-model?