Answered by:
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 9, 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)
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Thursday, May 10, 2012 7:49 PM
- Marked as answer by Jeff SandersMicrosoft employee, Moderator Monday, May 14, 2012 5:50 PM
Thursday, May 10, 2012 7:49 PMModerator
All replies
-
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)
- Proposed as answer by Jeff SandersMicrosoft employee, Moderator Thursday, May 10, 2012 7:49 PM
- Marked as answer by Jeff SandersMicrosoft employee, Moderator Monday, May 14, 2012 5:50 PM
Thursday, May 10, 2012 7:49 PMModerator -
Hi Jeff,
does this mean that it is not possible (or "not expected") to show both group headers and list items in the same ListView when using a ListLayout?
//Guido
Wednesday, June 6, 2012 2:48 PM -
Hi guido,
I found you may be familiar with custom data source of listview a lot, could you please kindly help me with this problem http://social.msdn.microsoft.com/Forums/en-US/winappswithhtml5/thread/e6897af6-fa81-4ff5-b391-1dec8d931cdc/#c68998d2-762f-49b6-98c3-3d16cc47a2f2 OR could I contact you with mail or other ways to ask you some question?
Thanks,
Pan
Thursday, June 7, 2012 3:23 AM