Programming4us
         
 
 
Sharepoint

SharePoint 2010 : Specify How Items in a View Are Grouped

12/7/2010 11:10:15 AM
SharePoint list views support a feature called grouping that enables you to define a grouping on a column in a list view. For example, grouping contacts by the company to which they belong is a common use of grouping. Grouping documents by the person who created them can be another good idea (see Figure 1).
Figure 1. A view of a document library grouping files by the Created By column.


Note

Grouping is available only for standard and Gantt view types.


To take advantage of grouping, select the column whose values you want to use as groups. If there are empty values in the selected column for some of the items or files in that view, they are placed under a group without a name (see Figure 2).

Figure 2. A view of a contacts list, grouped by the Company column, where one contact doesn’t have a value in the Company column.


To define the grouping when creating a view, scroll down to the Group By section in the page and expand it by using the plus (+) sign next to the section title (see Figure 3). In addition to choosing the column, you can also select the order in which the groups appear: either ascending or descending.

Figure 3. The Group By section in the view creation page.


You can specify up to two columns for grouping. The second column’s groups appear under each group only if there are items in that group. For example, grouping contacts by company and then by country makes finding people easier if you know their company and country (see Figure 4).

Figure 4. Grouping by company and then by country/region.


Tip

When grouping by a column, it’s a good idea not to display that column as part of the view because the values appear as a group. For example, if you are grouping by country, you should remove the Country column from the list of columns displayed in the view.


In addition to specifying the columns for grouping and the order of the groups, you can also specify whether the groups show up expanded or collapsed by default. If you choose that columns should be collapsed by default, you can also choose how many groups to display per page. These settings affect both grouping columns.

If you choose that the groups should be expanded by default, the view displays the groups with the items shown as soon as users open the view (see Figure 5).

Figure 5. A view showing contacts grouped by company and then by country, with the groups expanded by default.


If you select that the groups should be collapsed by default, you can also select how many groups will appear per page. If you choose this option, views with a lot of groups still show the users a manageable list (see Figure 6).

Figure 6. A view showing the items grouped, with a limit of two groups per page.


The paging mechanism enables users to move back and forth between the pages by using the arrow at the bottom of the view.

Other -----------------
- SharePoint 2010 : Specify How Items in a View Are Filtered
- SharePoint 2010 : Specify How Items in a View Are Sorted
- SharePoint 2010 : Specify the Order of the Columns in a View
- SharePoint 2010 : Specify Columns for a View to Display
- Preparing for SharePoint 2010 Installation (part 3)
- Preparing for SharePoint 2010 Installation (part 2)
- Preparing for SharePoint 2010 Installation (part 1)
- Introducing SharePoint 2010 Installation Types
- Sharepoint 2010 : Optimizing Outside of SQL Server
- SharePoint 2010 : Create a Personal or Public View for a List or Library (part 3) - Create a Gantt View
- SharePoint 2010 : Create a Personal or Public View for a List or Library (part 2) - Create a Calendar View
- SharePoint 2010 : Create a Personal or Public View for a List or Library (part 1) - Create a Standard View
- Sharepoint 2010 : Remove a Content Type from a List or Document Library
- Sharepoint 2010 : Add a Content Type to a List or Document Library
- SharePoint 2010 : Change the Document Template for the New Button in a Document Library
- SharePoint 2010 : Change the Versioning Settings for a List or Document Library
- SharePoint 2010 : Rename a List or Document Library or Change Its Description
- SharePoint 2010 : Branching in Surveys
- Sharepoint 2010 : Change the Order of Columns in a List or Document Library
- Sharepoint 2010 : Change or Remove a Column in a List or Document Library
 
 
Most View
- Writing Your First Service in Visual Basic 2008 (part 1)
- Windows Remote Assistance : Troubleshoot From Afar
- Windows 7 : Sending Faxes from Windows Fax and Scan
- Active Directory 2008 : Proactive Directory Maintenance and Data Store Protection (part 4) - Performing Proactive Restores
- Windows 7 : Removing Stored Remote Desktop Credentials
- Managing Windows Server 2012 Storage and File Systems : Storage Management (part 8) - Managing MBR disk partitions on basic disks - Creating partitions and simple volumes
- Windows Server 2003 : Configuring IAS for Use with VLANs
- Windows 7 : Firing Up the Registry Editor
- SharePoint 2010 : Choose a Column Type (part 10) - Term Set Settings
- Configuring BitLocker Drive Encryption on a Windows Server 2008 R2 Branch Office Domain Controller (part 3) - Enabling BitLocker Drive Encryption when TPM Is Not Available
Top 10
- Implementing Edge Services for an Exchange Server 2007 Environment : Utilizing the Basic Sender and Recipient Connection Filters (part 3) - Configuring Recipient Filtering
- Implementing Edge Services for an Exchange Server 2007 Environment : Utilizing the Basic Sender and Recipient Connection Filters (part 2)
- Implementing Edge Services for an Exchange Server 2007 Environment : Utilizing the Basic Sender and Recipient Connection Filters (part 1)
- Implementing Edge Services for an Exchange Server 2007 Environment : Installing and Configuring the Edge Transport Server Components
- What's New in SharePoint 2013 (part 7) - BCS
- What's New in SharePoint 2013 (part 6) - SEARCH
- What's New in SharePoint 2013 (part 6) - WEB CONTENT MANAGEMENT
- What's New in SharePoint 2013 (part 5) - ENTERPRISE CONTENT MANAGEMENT
- What's New in SharePoint 2013 (part 4) - WORKFLOWS
- What's New in SharePoint 2013 (part 3) - REMOTE EVENTS