title: How to remove filter from table in excel created by spreadsheet-light import data from a DataTable function.
body: <p>I'm using Spreadsheet-light for creating excel document. I need to use a method "import data from a DataTable".But the table has filter by default. i do not want this filter.</p>
  
  <p><a href="https://i.stack.imgur.com/9ncAA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9ncAA.png" alt="enter image description here"></a></p>
  
  <p>I tried a inbuilt method of Spreadsheet-light </p>
  
  <pre><code>sl.RemoveFilter();
  </code></pre>
  
  <p>to remove the filter but it's not working.Can any one suggest how to remove this default filter. 
  Please look into my code.</p>
  
  <pre><code>int iStartRowIndex = 11;
  int iStartColumnIndex = 2;
  sl.ImportDataTable(iStartRowIndex, iStartColumnIndex, dtMyTable,true);
  int iEndRowIndex = iStartRowIndex + dtMyTable.Rows.Count + 1 - 1;
  int iEndColumnIndex = iStartColumnIndex + dtMyTable.Columns.Count - 1;
  SLTable table = sl.CreateTable(iStartRowIndex, iStartColumnIndex, iEndRowIndex, iEndColumnIndex);
  table.SetTableStyle(SLTableStyleTypeValues.Medium17);
  sl.RemoveFilter();
  sl.InsertTable(table);
  sl.SaveAs("FileName");
  </code></pre>