ng2-handsontable
ng2-handsontable copied to clipboard
How do I use with the pro version?
How do I use with the pro version?
Thanks
Handsontable's is a different package and I don't think you can install it as 'handsontable'. So you would need to fork this repository and adjust the import path 'handsontable/dist/handsontable.full.js' that is used in several places. Also, the typings in handsontable.d.ts only reflect the free version, so if you use pro features, you may need to add the typings for those features to prevent TypeScript from throwing errors.
Does that help?
It might be worth contacting Handsoncode to see if they can think of a way to make both version accessible through the same module to prevent issues like that.
Hi @renehamburger, are the instructions to replace the free version with the pro version still the same for the latest version of ng2-handsontable?
I tried changing the dependencies in the package.json file from: "dependencies": { "handsontable": "^0.35.0" },
to
"dependencies": { "handsontable-pro": "^1.15.0" },
but its still picking up the free version. Any thoughts on what I might be missing?
I was able to get the pro version working, by doing some minor changes to ng2-handsontable code, you can find the details here: https://github.com/saurabhajmera/ng2-handsontable. Also, I checked with handsontable about the typing file, it seems like, the pro version uses the same typings file as the free version.