title: Exclude column from export in jQuery Datatables
body: <p>I'm using jQuery datatable 1.10.11 and it's export button functionality as described <a href="https://datatables.net/extensions/buttons/examples/html5/simple.html" rel="noreferrer">here</a>: </p>
  
  <p>I want to skip last column from being export into excel file as this column has edit/delete buttons in it. My columns are generated dynamically so I can't use following method:</p>
  
  <pre><code>    $('#reservation').DataTable({
      dom: 'Bfrtip',
      buttons: [
          {
              extend: 'excel',
              text: 'Export Search Results',
              className: 'btn btn-default',
              exportOptions: {
                  columns: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
              }
          }
      ]
  });
  </code></pre>
  
  <p>I know this question is asked multiple time but non of them worked for me, might be version issue.</p>