ReadMe > Trial Version and Licensing Information |
The Spread.Sheets evaluation version displays a watermark in the lower-right corner. For example:
To update your JavaScript to use the licensed version, you must download and extract the licensed JavaScript from the link included in your email from spread.sales@grapecity.com.
Use the following steps to extract the licensed files:
Extract the downloaded SpreadSheetsLicensedX.XX.XXXX.X.zip to the same location as the trial and replace all existing files in that location.
Add a reference to your Spread.Sheets license that you received when you purchased the product. Add the reference before the workbook is initialized. For example:
<script src="./scripts/evaluation/gc.spread.sheets.all.10.1.0.min.js" type="application/javascript"></script>
<script>
GC.Spread.Sheets.LicenseKey = "xxx";
</script>
Or
<script src="./scripts/evaluation/gc.spread.sheets.all.10.1.0.min.js" type="application/javascript"></script>
<script src="./scripts/evaluation/licensekey.js" type="application/javascript"></script>
<script>
window.onload = function () {
var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"));
var activeSheet = spread.getActiveSheet();
}
</script>
licensekey.js file:
GC.Spread.Sheets.LicenseKey = "xxxxxx";
Note: If you do not have a trial or production license, Spread.Sheets can only be used on the local machine (for example: http(s)://localhost or http(s)://127.0.0.1).
The Spread.Sheets Designer is available for 30 days as a trial without a license key.
Select the lock icon and enter your license key to unlock the Spread.Sheets Designer.
Set the license key to GrapeCity.Spread.Sheets.License.LicenseKey before the new Importer() or new Exporter() instance. For example:
GrapeCity.Spread.Sheets.License.LicenseKey = "your key";
If you create a Web application and you also use the script file, then you need to add a license key after you reference the Spread.Sheets script file. For example:
<script>GC.Spread.Sheets.LicenseKey = "your key";</script>
The Excel Import and Export Component is available as a separate download at http://sphelp.grapecity.com/devchannel/.
The client-side Excel options are included with the Spread.Sheets product.