title: Data table footer is not included in DataTable print export option
body: <p>I am using a Codeigniter and ajax request with DataTable to fetch data and trying to print the data using DataTable print export option. But footer is not appearing in the print.</p>
  
  <blockquote>
    <p>How can i include the footer in printing with DataTable?</p>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>function data_table_report(dateselected){
      $("#dataTables-report").dataTable().fnDestroy();
      table =  $('#dataTables-report').DataTable({
          "ajax": {
          "url": "&lt;?php echo site_url('patients_report/dataTable_report/')?&gt;"+dateselected,
          "type": "POST",
          },
          responsive: true,
          bInfo: false,
          dom: 'Bfrtip',
          buttons: [{ extend: 'print',
              exportOptions: {
                  columns: ':visible'
                   }
          },
          'colvis'],
          columnDefs: [ { 
              targets: -1,
              visible: false} 
         ]
     });
  }
  </code></pre>