Share via


GroupByFooter Element (View)

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 the definition of a Group By footer section in a view of a list.

<GroupByFooter>
</GroupByFooter>

Attributes

Attribute

Description

None

N/A

Child Elements

Numerous

Parent Elements

View, ViewStyle

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>