Skip to main content Skip to footer

How to set the LicenseKey in React

Background:

In order to get rid of the licensing screen when working with Spread.Sheets a valid license needs to be added.

Steps to Complete:

1. Import namespace

2. Set the LicenseKey namespace

Getting Started:

Import namespace

import GC from '@grapecity/spread-sheets';

Set the LicenseKey namespace

var SpreadJSKey = "xxx";
GC.Spread.Sheets.LicenseKey = SpreadJSKey;

Tags:

Mackenzie Albitz