This is a documentation of an earlier version of Handsontable.

# License key

# Overview

Handsontable is available under Commercial and Free licenses, depending on your usage.

# Settings

We require you to specify which terms apply to your usage by passing in a license key in the Settings object along with all other settings to be applied.

# Commercial license

If you use the paid version of Handsontable, pass the string of numbers delivered to you after the purchase. Note that the license key is a string, so you need to wrap it in quotes ''.

const settings = {
  licenseKey: '00000-00000-00000-00000-00000',
  //... other options
}

To use it with a framework, pass the string to a licenseKey prop:

# Free license

If you use Handsontable for purposes not intended toward monetary compensation such as, but not limited to, teaching, academic research, evaluation, testing and experimentation, pass the string 'non-commercial-and-evaluation'.

const settings = {
  licenseKey: 'non-commercial-and-evaluation',
  //... other options
}

# The validation process

We validate the license key to determine whether you are entitled to use the software. To do that, we compare the time between two dates. These dates come from two sources of information. One is the build date that is provided in each version of Handsontable. The other is the creation date that comes with the license key. This process does not trigger any connection to any server.

# Notifications

If your license key is missing, invalid, or expired, Handsontable will display an appropriate notification. The notification is displayed in two places, below the table as HTML text and in the console. The messages are as follows:

# Missing license key

The license key for Handsontable is missing. Use your purchased key to activate the product. Alternatively, you can activate Handsontable to use for non-commercial purposes by passing the key: ‘non-commercial-and-evaluation’. Read more about it in the documentation or contact us at [email].

# Invalid license key

The license key for Handsontable is invalid. Read more on how to install it properly or contact us at [email].

# Expired license key

The license key for Handsontable expired on [expiration_date], and is not valid for the installed version [handsontable_version]. Renew your license key or downgrade to a version released prior to [expiration_dates]. If you need any help, contact us at [email].

# Get a license key

To get a commercial license key for your Handsontable copy, contact our Sales Team (opens new window).