Share via


GroupBy Element (Query)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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>

Attributes

Attribute

Description

Collapse

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

Child Elements

FieldRef

Parent Elements

Query

Occurrences

Minimum: 0

Maximum: 1