GroupBy Element (Query)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements
Occurrences

Contains a Group By section for grouping the data returned through a query in a list view.


<GroupBy
  Collapse = "TRUE" | "FALSE">
  <FieldRef Name = "Field_Name"/>
</GroupBy>

Attribute

Description

Collapse

Optional Boolean. TRUE for the Group By section in the list view to be collapsed by default.

Minimum: 0

Maximum: 1

Show: