License Key is not applied when trying to import excel file via designer ribbon

Posted by: kacper.cierzniewski on 15 December 2020, 11:36 pm EST

    • Post Options:
    • Link

    Posted 15 December 2020, 11:36 pm EST

    Hi,

    I’ve noticed one bug regarding license keys. I’ve defined

    GCDesigner.Spread.Sheets.Designer.LicenseKey
    and
    GCSheets.Spread.Sheets.LicenseKey
    in my react component with Designer react component in it from ‘```

    @grapecity/spread-sheets-designer-react’

    
    However, if I try to import an excel file via ribbon (File -> Excel File -> Import excel file) then I have an additional tab with license problems:
    
    [img]https://gccontent.blob.core.windows.net/forum-uploads/file-6e16ce30-e16b-498e-b1a2-ff75ff9aad50.jpg[/img]
    
    I'm using react wrapper to handle spreadsheet instance. I've also tried to extract LicenceKey definitions outside the react component, but it didn't help.
  • Posted 15 December 2020, 11:38 pm EST - Updated 3 October 2022, 1:03 am EST

    I’m posting image once again, because first one is not cropped properly:

  • Posted 16 December 2020, 10:07 pm EST

    Hi,

    We are unable to replicate the issue at our end. Please make sure you add the license key for the excelIO module. Please refer to the following code snippet.

    Further, if the issue persists. Please share a small sample that replicates the issue so that we could investigate it further and assist you accordingly.

    
    import * as Excel from "@grapecity/spread-excelio"
    Excel.LicenseKey = "Your Spread license Key"
    
    

    Regards

    Avinash

  • Posted 17 December 2020, 12:06 am EST

    Hi,

    Looks like adding Excel.LicenseKey fixed issue. Thanks!

Need extra support?

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

Learn More

Forum Channels