title: Third row as table header in pdfMAke pdf creator engine
body: <p>I just went through <a href="http://pdfmake.org/playground.html" rel="nofollow">this playground</a> of pdfMake pdf creator engine and it nicely explains how to print a table using pdfMAke as,</p>
  
  <pre><code>table: {
          headerRows: 1,
          body: [
                  [{ text: 'Header 1', style: 'tableHeader' }, { text: 'Header 2', style: 'tableHeader'}, { text: 'Header 3', style: 'tableHeader' }],
                  [ 'Sample value 1', 'Sample value 2', 'Sample value 3' ],
                  [ 'Sample value 1', 'Sample value 2', 'Sample value 3' ],
                  [ 'Sample value 1', 'Sample value 2', 'Sample value 3' ],
                  [ 'Sample value 1', 'Sample value 2', 'Sample value 3' ],
                  [ 'Sample value 1', 'Sample value 2', 'Sample value 3' ],
                                  ]
          },
  </code></pre>
  
  <p>where <code>headerRows: 1</code> will consider the first row as table header. Is there any ways to consider the third row as header using this engine so that the third row will repeat as header in the next consecutive pages of pdf document.</p>
  
  <p>Also is it possible to draw borders around columns which drawn below.</p>
  
  <pre><code>        columns: [
              { text: 'First Column goes here.'},
              { text: 'Second column goes here.'},
              { text: 'Third column goes here.' }
          ]
  </code></pre>