title: Exporting a KendoGrid via PDF and additional template
body: <p>I have a kendogrid with working PDF export.
  Now I want to add a header to each exported page (e.g. Customer Name and Number). I tried to do it like the provided demo <a href="http://dojo.telerik.com/UfILe" rel="nofollow noreferrer">here</a>, but I don't see the Text or pagenumbers. It does, however, add the margins to the document.</p>
  
  <p><strong>The Template:</strong></p>
  
  <pre><code>&lt;script id="page-template-pdf" type="x/kendo-template"&gt;
  &lt;div class="page-template-pdf"&gt;
      &lt;div class="header-pdf"&gt;
          Customer: {{cust.id}}
      &lt;/div&gt;
      &lt;div class="footer-pdf"&gt;
          &lt;div style="float: right"&gt;Page #: pageNum # of #: totalPages #&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>CSS:</strong></p>
  
  <pre><code>&lt;style&gt;
  .page-template-pdf {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
  }
  
      .page-template-pdf .header-pdf {
          position: absolute;
          top: 30px;
          left: 30px;
          right: 30px;
          border-bottom: 1px solid #888;
          text-align: center;
          font-size: 18px;
          color: orangered;
      }
  
      .page-template-pdf .footer-pdf {
          position: absolute;
          bottom: 30px;
          left: 30px;
          right: 30px;
      }
  &lt;/style&gt;
  </code></pre>
  
  <p><strong>Grid Definition inside my controller:</strong></p>
  
  <pre><code>...            
  toolbar: [
                  { name: "pdf", text: "PDF Export" },
                  { name: "excel", text: "Excel Export" },
                  { template: kendo.template($("#laGridFilterTemplate").html()) }
              ],
              pdf: {
                  allPages: true,
                  landscape: true,
                  paperSize: ["1573pt", "672pt"],
                  margin: { top: "3cm", right: "0cm", bottom: "1cm", left: "0cm" },
                  template: kendo.template($("#page-template-pdf").html())
              }, ...
  </code></pre>