locked
Group Headers to show on ListLayout

    Question

  • I'm trying to figure out how to show the group headers when my content is on snap view and using ListLayout instead of grid.
    Wednesday, May 09, 2012 8:35 PM

Answers

  • Hi Isu,

    Did you see the GridView template in Visual Studio.  This template does this for you.  Once the listview is in snapped it only displays the GroupHeaders (as you would expect).

    Specifically look at the following:

    groupedItemsPage.js - updateLayout:

    groupedItemsPage.css - @media screen and (-ms-view-state: snapped) {

    -Jeff


    Jeff Sanders (MSFT)

    Thursday, May 10, 2012 7:49 PM
    Moderator

All replies