共用方式為


GroupByFooter Element (List)

Applies to: SharePoint Foundation 2010

Contains the definition of a Group By footer section in a view of a list.

Note

Most standard Microsoft SharePoint Foundation 2010 list views ignore this element. For more information, see XMLDefinition and CAML View Schema.

<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>

See Also

Concepts

XMLDefinition and CAML View Schema

Other Resources

List Views