Free Support Forum -

GridDesktop Autofilter being turned on when importing excel sheet

Importing and then export a file with the GridDesktop control is always turning on autoFilter.

  1. Create a spreadsheet with no filtering
  2. Run the following code with the griddesktop
    Dim strFileName As String = Path.GetTempPath + Path.DirectorySeparatorChar +
    Path.GetFileNameWithoutExtension(Path.GetRandomFileName) + “.xlsx”
  3. Notice the speadsheet now has filtering turned on

I am using 18.7 .Net


Thanks for the sample code segment and details.

I did test your scenario/ case a bit using a simple Excel file (which does not have auto-filters) and your sample code, it works fine and the output file does not contain auto filters. Could you provide your template Excel file (input file) and the output file (by Aspose.Cells.GridDesktop), we will check it soon.