title: How can we add line above footer in pdf of datatable?
body: <p>I have the following code to add footer in pdf.</p>
  
  <pre><code>$(document).ready(function() {
      $('#example').DataTable({
          "dom": 'Bfirtlp',
          buttons: [{
              extend: 'pdfHtml5',
              exportOptions: {
                  columns: [0, 1, 2],
              },
              customize: function(doc) {
                  var now = new Date();
                  var jsDate = now.toGMTString();
                  doc['footer'] = (function(page, pages) {
                          return {
                              columns: [{
                                      alignment: 'left',
                                      fontSize: '7',
                                      text: ['Version: 1.0']
                                  }, {
                                      alignment: 'center',
                                      fontSize: '7',
                                      text: ['page ', {
                                          text: page.toString()
                                      }]
                                  }
                                  margin: 20
                              }
                          });
                  }
              }
          }]
      });
  });
  </code></pre>
  
  <p>In the footer how can i add line above it?</p>