Download Flex Grid As Excel Issue

Posted by: saisreeja.gadi on 22 May 2023, 10:33 pm EST

  • Posted 22 May 2023, 10:33 pm EST

    Hi,

    When I am trying to download the data from flexGrid as Excel file

    
    save() {
        wjcGridXlsx.FlexGridXlsxConverter.saveAsync(**this.flexGrid,**
            {
                includeColumnHeaders: this.includeColumnHeader,
                includeStyles: false,
                formatItem: this.customContent ? this._exportFormatItem : null
            },
            'FlexGrid.xlsx');
      } 

    In this line wjcGridXlsx.FlexGridXlsxConverter.saveAsync(this.flexGrid,

    When I hover on this.flexGrid I am getting the issue

    Argument of type ‘import(“website/node_modules/@grapecity/wijmo.grid/index”).FlexGrid’ is not assignable to parameter of type ‘import(“c:/OSRPROD_MASTER/barossa-platform_webapplication/node_modules/@grapecity/wijmo.grid.xlsx/node_modules/@grapecity/wijmo.grid/index”).FlexGrid’.

    Type ‘FlexGrid’ is missing the following properties from type ‘FlexGrid’: _activePanel, _activePanelType, _anchorCell, _hdrFoc, and 37 more.

  • Posted 23 May 2023, 4:55 pm EST

    Hi,

    Sorry, but we are unable to replicate the issue on our end, could you please share some more information about the issue, i.e.

    1. Which framework you are using in your project?
    2. Some code snippets, how you are using the FlexGrid control?

      Please share a small sample in which the issue can be replicated, if possible so that we can further investigate the issue and assist you accordingly.

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels