ListView onselectionchanged not working after Windows RC


  • This is the listview as seen in the Template:

    <div class="groupeditemslist" aria-label="List of groups" data-win-control="WinJS.UI.ListView" data-win-options="{ selectionMode: 'single', onselectionchanged : handler}"></div>

    Before the RC i could even set the function handler like this <script>function handler() { /* nothing here */ } </script>

    And would work.. but NOW with the RC it crashes.

    I even tried onselectionchanged: tilesEvents.selectionChanged and in the groupedItems.js i did:

    WinJS.Namespace.define('tilesEvents', {

            selectionChanged: selectionChanged

    AND the still crashes..

    boy.. this is really annoying..

    Saturday, June 2, 2012 6:19 PM


All replies