ghiscoding / Angular-Slickgrid

Angular-Slickgrid is a wrapper of the lightning fast & customizable SlickGrid datagrid, it also includes multiple Styling Themes
https://ghiscoding.github.io/Angular-Slickgrid
Other
397 stars 120 forks source link

Custom filename is not working. #443

Closed chhaunkar96 closed 4 years ago

chhaunkar96 commented 4 years ago

The custom filename is not working in Angular 6.

  this.gridOptions = {
      enableAutoResize: true,
      enableColumnReorder: false,
      enablePagination: true,
      enableAutoSizeColumns: true,
      enableMouseHoverHighlightRow: true,
      enableExcelExport: true,
      enableExport: true,
      pagination: {
        pageSizes: [10],
        pageSize: 10
      },
      exportOptions: {
        format: FileType.xls,
        exportWithFormatter: true,
        sanitizeDataExport: true,
        filename: 'QCT Tool',
      },
      excelExportOptions: {
        format: FileType.xls,
        filename: 'QCT Tool', 
      },
      gridMenu: {
        hideExportCsvCommand: false,
        hideExportTextDelimitedCommand: false
      }
    };

Slickgrid version: "angular-slickgrid": "^2.17.11",

close-issue-app[bot] commented 4 years ago

This issue was automatically closed by our bot because it does not meet our issue template requirements. Please fill in the questions/sections required in the issue template before submitting a new issue. Thank you.

ghiscoding commented 4 years ago

Probably doesn't work with spaces in the filename. Next time make sure to fill in correctly the issue template if you don't want the bot to auto-close the issue