Databinding listview fails RRS feed

All replies

  • Hi Samir,

    There are some community notes on the bottom that show some corrections.  Did you try these?  Also obviously you do not have the images so they would not show up.


    Jeff Sanders (MSFT)

    Wednesday, February 8, 2012 2:39 PM
  • Hi Jeff

    I applied the suggestions but still doesn't display any data. The cursor has disappeared though.

    Looking at DOMExplorer, I see an empty div has been inserted (not sure what the html is actually supposed to look like).

    Any other suggestions OR tips on trying to debug this?

    <div tabIndex="-1" class="win-listView" id="basicListView" role="listbox" style="position: relative;" data-win-options="{itemRenderer: itemTemplate}" data-win-control="WinJS.UI.ListView">...</div>
    <div tabIndex="0"></div>
    <div class="win-viewport win-horizontal" style="left: 0px; top: 0px; width: 1152px; height: 400px;">...</div>
    <div class="win-scrollable" style="width: 0px; height: 400px;">...</div>




    Wednesday, February 8, 2012 8:06 PM
  • This sample uses the same images and basically will give a a feel for what you need to do:


    Scenario 1 is the sample that uses the template similar to the article.

    You can run this and then compare this to your code to see where there are differences.  Let me know if you have any difficulty!

    Jeff Sanders (MSFT)

    Thursday, February 9, 2012 8:48 PM