Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have the following template in Header.xsl file:

<xsl:template name="MyList" match="*[@GroupStyle='MyList']" mode="header">
  <div class="row">
      <div class="columns large-4 centered">
          ID
      </div>
      <div class="columns large-4">
          Form Name
      </div>
      <div class="columns large-4">
          Submitter Name
      </div>
  </div>
</xsl:template>

When I apply it to on Content Query Web Part, it makes no difference on UI.

How to make the CQWP render the desired header row?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Templates defined with mode="header" attribute (file Header.xsl) are invoked only when the Grouping is enabled for CQWP (see picture below)

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.