Posted 17 August 2021, 10:43 am EST - Updated 3 October 2022, 9:40 am EST
Hi.
I am using the spread and designer in angular.
I have a problem with the Excel.IO License.
I becom following errror: “Excel IO License Not Found. You need a valid license key to run SpreadJS Excel IO. Temporary keys are available for evaluation. If you purchased a license, your key is in your purchase confirmation email. Email us.sales@grapecity.com if you need assistance.”
I have add the license in the component constructor.
constructor() {
GC.Spread.Sheets.LicenseKey = ‘Spread License’;
(ExcelIO as any).LicenseKey = ‘Spread License’;
GCD.Spread.Sheets.Designer.LicenseKey = ‘Designer License’;
}
Here are the imports:
import ‘@grapecity/spread-sheets-designer-resources-en’;
import * as GC from ‘@grapecity/spread-sheets’;
import * as GCD from ‘@grapecity/spread-sheets-designer’;
import ‘@grapecity/spread-sheets-designer’;
import * as ExcelIO from ‘@grapecity/spread-excelio’;
We store the json object from the excel file in a database with our Administration Tool. In the main Application I load this json object from the database and load it in the spread component. In this case I don`t use the excel.io component but the spread throw an error. Some excel files are working.
I have a distirbute evaluation license key for spread and dashboard.
