How to refresh a ListViewItem in metro app (HTML 5 + Java Script)? RRS feed

  • Question

  • Anyone knows how I should update the text of ListViewItem in UI of Windows 8 metro application (HTML 5 + java script).

    The list view, whose data source is set to an array, is getting updated in code behind if there is any change in a property (say
    “textContext”) of binded array; however, the UI is not displaying the updated text for the property.

    The property is using default binding (data-win-bind=”innerHTML: textContent WinJS.Binding.defaultBind).

    Is there a way to force the listviewItem to refresh its view.



    Tuesday, February 21, 2012 5:31 AM