All Flexmonster Pivot Table & Charts editions need a license key. This guide describes the license key types and how to use the license keys:
Setting a license key
When you get a license key, set it for the component via the licenseKey parameter. Look at the examples of setting a license key:
in pure JavaScript
var pivot = new Flexmonster({
container: "pivotContainer",
licenseKey: "XXXX-XXXX-XXXX-XXXX-XXXX"
});
in Angular
<fm-pivot
[licenseKey]="'XXXX-XXXX-XXXX-XXXX-XXXX'">
</fm-pivot>
in React
<FlexmonsterReact.Pivot
licenseKey="XXXX-XXXX-XXXX-XXXX-XXXX"
/>
in Vue
<Pivot
ref="pivot"
v-bind:licenseKey="'XXXX-XXXX-XXXX-XXXX-XXXX'">
</Pivot>
If you experience any error pop-up window, see the Troubleshooting guide.
Checking a license key
You can check your license key by clicking on the grid and pressing Ctrl + Alt + i
(Option + Control + i
on macOS). This will open the pop-up window displaying information about your license.
Types of keys
We offer the following types of keys:
- A trial key is used for the trial version. The component runs with a trial key without any restrictions, with all functionality available in the downloaded edition. The only limitation is that integration with 3rd party charting libraries is not available.
This key is temporary and has an expiration date. Usually, the trial period lasts for 30 days.
A trial key is usually set automatically, except for cases when the download package is used. Learn how to set a trial key for the download package.
- A development license key is provided for development purposes. It is applicable to your localhost environment. Using a development key, the component can be run locally on your computer (localhost) or on a server using the server’s IP address.
We do not license on a per-developer basis, so you only need one license for the whole development team that is working on the same project. This key is issued right after the purchase. A development license key can have an expiration date or it can be perpetual – depending on the purchased license.
- A production license key is provided for the production environment (domain/URL) where the component runs (e.g. yourcompany.com). You do not need to know the production domain at the moment of purchase, instead, you can ask for the production key just prior to publishing your application on the web.
This key is tied to your domain name. A production license key can have an expiration date or it can be perpetual – depending on the purchased license.
- A staging key can be issued by request after a Flexmonster license is purchased. It can be used for testing on the real domain, but not in the production environment.
You will receive a development key right after you purchase a Flexmonster license. When you know the target domain/URL, you will receive a production key.