React JS Handsontable

Hi,

How to use Handsontable Pro version while working on React Js because when we used it using npm install handsontable-pro @handsontable-pro/react then its saying “Evaluation version of Handsontable Pro.Not licensed for production use.”

We have already licence of Handsontable Pro version so please help us to use it for production purpose using react JS.

Regards,
Vishal

Hi @rohit.parwal

Here is an example where you need to replace 000 with your licenseKey number https://jsfiddle.net/kf20qz8x/

If you would have any further difficulties with your licenseKey please write me at support@handsontable.com

Hi,

thanks for update but can you please tell us if we can provide licence key while adding handsontable component using npm install.

You do not use the key in the downloading process. It is a static value attached to the instance. The handsontable.js file checks if that key is valid after you download and initialize an instance of Handsontable Pro.

we are just worried that this way, we are exposing the license key in the code…

Thank you for sharing your concerns about the key security.

We are working to change tris process but currently it is needed in the Handsontable initialization settings.