Your ag-Grid license key should have been emailed to you by our sales team following your purchase. You'll need to set the ag-Grid license key in your code to use ag-Grid Enterprise functionality.
License Key Format
Your ag-Grid license key looks like either of the two license keys (this is just a format difference):
Setting the license key
Please follow the steps on how to set the license key according to the framework you're using here:
You can also see complete examples here:
The ag-Grid license key needs to be entered into the setLicenseKey API method as-is without any additional spaces or other characters.
Here's an example of this using the sample license key above. Note the entire license key string is used in this method without any new lines, or other modifications:
When you set the ag-Grid license key correctly as described above, that will remove the watermark displayed over ag-Grid and no console messages will be displayed.
If you're setting the ag-Grid license key but you're getting an console error message saying License Key Not Found, the LicenseManager isn't loaded correctly. In order to resolve this, take a look at the samples for your framework to see how to do it:
Invalid license keys
If you're setting your ag-Grid license key but getting an Invalid license key error message in the browser console, please validate your license key here:
Please ensure you're entering the ag-Grid license key exactly as emailed to you by our sales team, without adding any space or new line characters.
If your license key still doesn't validate correctly, this might be due to special characters or accents/umlaut characters in the license key.
If your ag-Grid license key contains special characters such as:
*/ it may not validate correctly. If that's the case, please contact our sales team at email@example.com stating this, and we will issue a new ag-Grid license key for you.
Accents and Umlaut Characters
If you are using version 23, ag-Grid license keys with accented characters or umlauts will also not validate correctly. This issue will be fixed in our future versions, but in the meantime please contact our sales team at firstname.lastname@example.org stating this for a new license key to be generated.