title: Exclude last column while exporting to excel
body: <p>How to exclude the last column of datatable while exporting to excel format using jquery? I have tried <code>.not("#tableid")</code>, <code>.remove</code>, <code>exclude:"#tableid"</code> but doesn't work. Is there any solution for it???Below is my code</p>
  
  <p>Table code:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;table class="table table-bordered table-striped tableToExcel" id="tbl_datatable"&gt;
    &lt;thead&gt;
      &lt;tr&gt;
        &lt;th&gt;Identifier&lt;/th&gt;
        &lt;th&gt;Group Name&lt;/th&gt;
        &lt;th&gt;Group Name English&lt;/th&gt;
        &lt;th&gt;Fiscal Year&lt;/th&gt;
        &lt;th&gt;Date&lt;/th&gt;
        &lt;th&gt;District&lt;/th&gt;
        &lt;th&gt;District in English&lt;/th&gt;
        &lt;th&gt;VDC&lt;/th&gt;
        &lt;th&gt;VDC in English&lt;/th&gt;
        &lt;th&gt;Ward No&lt;/th&gt;
        &lt;th&gt;Program&lt;/th&gt;
        &lt;th&gt;Livestock/Crop&lt;/th&gt;
        &lt;th id="noExl"&gt;Action&lt;/th&gt;
      &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Jquery code:</p>
  
  <pre class="lang-js prettyprint-override"><code>$(document).ready(function() {
      $("#exportExcel").click(function() {
          $(function() {
              $(".tableToExcel").remove("#noExl").table2excel({
                  exclude: "#noExl",
                  name: "Excel Document Name",
                  filename: "Group",
                  exclude_img: true,
                  exclude_links: true,
                  exclude_inputs: false
              });
          });
      });
  });
  </code></pre>