title: Datatable does not allow to include multiple footers rows into exported pdf file
body: <p>I am trying to create a Datatable PDF with multiple footers support with export option.</p>
  
  <p>But it's only allow first row of footer to be in exported PDF</p>
  
  <p>Kindly , let me know if it possible to create multiple footers in datatable ?
  And
  if it then how to implement in java script?</p>
  
  <p>I am sharing code </p>
  
  <p>in Java Script created datatable and add tfoot in table</p>
  
  <pre><code>'&lt;tfoot id="reportTblFoot' + chartIndex+ '"&gt;'+
  '&lt;/tfoot&gt;'
  </code></pre>
  
  <p>varible of table footer</p>
  
  <pre><code>var tfoot='#reportTblFoot'+chartIndex;
  </code></pre>
  
  <p>Data append in footer               </p>
  
  <pre><code>var footer1 = $("&lt;tr /&gt;");
                  footer1.append("&lt;td style='border:none;font-style:italic;line-height:0;font-size:10px'&gt;* Applicable row 1&lt;/td&gt;");
                  footer1.append("&lt;td style='display:none'/&gt;");
                  footer1.append("&lt;td style='display:none'/&gt;");
                  $(tfoot).append(footer1);
  
              var footer2 = $("&lt;tr /&gt;");
              footer2.append("&lt;td style='border:none;font-style:italic;line-height:0;font-size:10px'&gt;** Not Applicable row 2&lt;/td&gt;");
              footer2.append("&lt;td style='display:none'/&gt;");
              footer2.append("&lt;td style='display:none'/&gt;");
              $(tfoot).append(footer2);
  
              var footer3 = $("&lt;tr /&gt;");
              footer3.append("&lt;td style='border:none;font-style:italic;line-height:0;font-size:10px'&gt;*** Not Applicable row 3&lt;/td&gt;");
              footer3.append("&lt;td style='display:none'/&gt;");
              footer3.append("&lt;td style='display:none'/&gt;");
              $(tfoot).append(footer3);
  
              var percSumNote = $("&lt;tr /&gt;");
              percSumNote.append("&lt;td style='border:none;'&gt;&lt;font size='1' color='grey'&gt;**** Not Applicable row 4&lt;/font&gt;&lt;/td&gt;");
              percSumNote.append("&lt;td style='display:none'/&gt;");
              percSumNote.append("&lt;td style='display:none'/&gt;");
              $(tfoot).append(percSumNote);
  </code></pre>
  
  <p>In datatable properties apply <strong>TRUE</strong> for <strong>footer</strong></p>
  
  <pre><code>buttons: [ {
                                   extend: 'pdf',
                                   filename:fileName,
                                   message:tableSubTitle,
                                   title: tableTitle,
                                   footer:true,
                                   pageSize : "A3",
                                   customize: function (doc) {
                                       doc.defaultStyle.alignment = 'left';
                                       doc.styles.message = {
                                               alignment: 'center'
                                           }
                                       doc.styles.table = {
                                               alignment: 'center',
                                               width: '100%',
                                           }
                                       doc.defaultStyle.fontSize = 16;
                                       doc.styles.tableFooter.fontSize = 8;
                                       doc.pageMargins = [ 130, 20, 130, 20 ];
                                       doc.content.forEach(function(item) {
                                           if (item.table) {
                                              // Set width for 3 columns
                                              item.table.widths = [350, 100, 100,'*'] 
                                           } 
                                        });
                                   } 
                               }]
  </code></pre>
  
  <p>And in downloaded PDF only first footer is added </p>
  
  <p><a href="https://i.stack.imgur.com/Sr4mt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Sr4mt.png" alt="enter image description here"></a></p>