Compartilhar via


GroupByFooter Element

The GroupByFooter element contains the definition of a Group By footer section in a view of a list.

Syntax

<GroupByFooter>
</GroupByFooter>

Element Relationships

Parent Elements
View, ViewStyle

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>