GroupByFooter element (List)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains the definition of a Group By Footer section in a view of a list.
<GroupByFooter>
</GroupByFooter>
Note
Most standard Microsoft SharePoint Foundation 2010 list views ignore this element. For more information, see XMLDefinition and CAML View Schema.
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
Numerous
Parent elements
Occurrences
- Minimum: 0
- Maximum: 1
Example
The following example from the Schema.xml file for custom lists defines the Group By Footer section in a view.
<GroupByFooter>
<HTML><![CDATA[</TBODY>]]></HTML>
<Switch>
<Expr>
<GetVar Name="GroupByIndent"/>
</Expr>
<Case Value="0">
<HTML><![CDATA[<TBODY id="foot]]></HTML>
<GetVar Name="GroupByLevelString"/>
<HTML><![CDATA[_"><TR><TD><BR></TD></TR></TBODY>]]></HTML>
</Case>
<Default/>
</Switch>
<Switch>
<Expr>
<GetVar Name="GroupByCollapse"/>
</Expr>
<Case Value="TRUE">
<HTML><![CDATA[<SCRIPT>ExpCollGroup(']]></HTML>
<GetVar Name="GroupByLevelString"/>
<HTML><![CDATA[','img_]]></HTML>
<GetVar Name="GroupByLevelString"/>
<HTML><![CDATA[');</SCRIPT>]]></HTML>
</Case>
<Default/>
</Switch>
</GroupByFooter>