I ‘Grouped’ my list ‘Announcements’ list ‘By’ categories and it works fine in the Announcement app but it does not display the grouping when I add it to a web part. How can I display the grouping in a web part?
When you customize the view for a web part, it creates a hidden view on the list that it is associated with. As suggested, you can edit the view on the web part and add the grouping. Since you mentioned that you already modified the view on the list, why not just change the view on the web part from Current View to your grouped view on your list? This will clone the grouped view into a new hidden view (thereafter it will show as Current View in your web part settings.)
- Create two calculate columns that will serve us when the items is created or published; this is an easy way to create the grouping.
- Create a click function (expand / collapse) for the whole row, for the year and month in the group header.
- Show number of items for each month
- Sort the month by their actual numbers but display the month by their names
As mentioned by Angiela you can edit the web part and change the view from there. It is most likely the “All Announcements” view that you need to pick up to display. What I do in this situation is set up a different view on lists and libraries that is exactly what my end users want to display in the web part. I then call it “Web Part View”. This way when you edit the web part, you can easily see which view you need to select. Hope this helps.
Hi Lavyn,
Try to edit the webpart and then in <Current View> click “Edit View”.
~Angiela