I have 2 views that are loaded via json calls to a remote server, in both cases the templates work fine.
<div data-role="view" data-title="Activities" data-layout="inner" id="actividades" data-init="activity">
<ul id="view_actividades" data-role="listview"></ul>
</div>
<div data-role="view" data-title="View Activities" data-layout="inner" id="article" data-init="article_load">
<div id="article_holder"></div>
</div>
<script type="text/x-kendo-tmpl" id="tmpl_view_activities">
<a href="\#article?id=${id}&cat=activities">
<div class="title">${title}</div>
</a>
</script>
<script type="text/x-kendo-tmpl" id="tmpl_view">
<div class="title">${title}</div>
<div class="date">${date}</div>
<div class="content">${content}</div>
</script>
I can select and item in the listview and the article view loads fine, once I go back to the list view and select a different item the view doesn't update the previous activity remains displayed...
My search-fu is failing me and I can't find any method to force the refresh. How can I force the refresh?
<div data-role="view" data-title="Activities" data-layout="inner" id="actividades" data-init="activity">
<ul id="view_actividades" data-role="listview"></ul>
</div>
<div data-role="view" data-title="View Activities" data-layout="inner" id="article" data-init="article_load">
<div id="article_holder"></div>
</div>
<script type="text/x-kendo-tmpl" id="tmpl_view_activities">
<a href="\#article?id=${id}&cat=activities">
<div class="title">${title}</div>
</a>
</script>
<script type="text/x-kendo-tmpl" id="tmpl_view">
<div class="title">${title}</div>
<div class="date">${date}</div>
<div class="content">${content}</div>
</script>
I can select and item in the listview and the article view loads fine, once I go back to the list view and select a different item the view doesn't update the previous activity remains displayed...
My search-fu is failing me and I can't find any method to force the refresh. How can I force the refresh?