locked
ListView onselectionchanged not working after Windows RC

    Question

  • 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..

    WHYYYYYYYY? 
    boy.. this is really annoying..

    Saturday, June 02, 2012 6:19 PM

Answers

All replies