GroupByHeader Element
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

GroupByHeader Element (View)

Windows SharePoint Services 3

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 header section in a view of a list.






Minimum: 0

Maximum: 1

The following example from the Schema.xml file for custom lists defines the Group By header section in a view.

  <HTML><![CDATA[<TBODY id="titl]]></HTML>
  <GetVar Name="GroupByLevelString"/>
      <GetVar Name="GroupByIndent"/>
    <Case Value="0">
      <HTML><![CDATA[ class="ms-gb" ]]></HTML>
      <HTML><![CDATA[ class="ms-gb2" ]]></HTML>
  <HTML><![CDATA[><TD colspan="100" nowrap>
    <img src="/_layouts/images/blank.gif" alt="" height=1 
  <GetVar Name="GroupByIndent"/>
  <HTML><![CDATA[><a href="javascript:" 
  <GetVar Name="GroupByLevelString"/>
  <GetVar Name="GroupByLevelString"/>
  <HTML><![CDATA[');return false;"><img id="img_]]></HTML>
  <GetVar Name="GroupByLevelString"/>
  <HTML><![CDATA[" src="/_layouts/images/minus.gif" alt="]]></HTML>
  <HTML><![CDATA[" border="0"></a>&nbsp;]]></HTML>
  <GetVar Name="GroupByField" HTMLEncode="TRUE" />
  <HTML><![CDATA[ :&nbsp;]]></HTML>
  <GetVar Name="GroupByValue"/>
  <HTML><![CDATA[<TBODY id="tbod]]></HTML>
  <GetVar Name="GroupByLevelString" HTMLEncode="TRUE"/>
© 2015 Microsoft