Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Defines how the headers, or prefixes, of view fields are rendered.

  ExpandXML = "TRUE" | "FALSE">




Optional Boolean. TRUE to re-pass the rendered content through the Collaborative Application Markup Language (CAML) interpreter, which allows CAML to render CAML.

Minimum: 0

Maximum: 1

This element often contains an HTML fragment with ExpandXML set to TRUE to render embedded Field elements.

The following example defines the field headers for a view. Each field header in the view is rendered according to the class ms-vh, which is defined in Core.css (\\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\LCID\STYLES).


    <![CDATA[ <TABLE ID="onetidDoclibViewTbl0 ]]> 
    <![CDATA[ " width="100%" border=0 cellspacing=0 cellpadding=1 
        rules=rows><TR VALIGN=TOP><FORM> ]]> 
      <![CDATA[ <TH class="ms-vh"> ]]> 
    <Field /> 
      <![CDATA[ </TH> ]]> 
    <![CDATA[ </FORM></TR> ]]> 
© 2015 Microsoft