Can't find what you're looking for?

Contact us or post in our forums and we'll help you find an answer.

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;