What dependencies do I need to use ag-grid
If you use plain js and npm, you will need ag-grid and ag-grid-enterprise
If you are using npm, you will likely need to run these commands:
npm install --save ag-grid-community
npm install --save ag-grid-enterprise
If you are also using a framework you will need to also include ag-grid-[yourFw]. For instance, for angular, you would need
npm install --save ag-grid-community
npm install --save ag-grid-enterprise
npm install --save ag-grid-angular
Note that you need to have all your major versions aligned too ie
ag-grid-angular: 17.0.0 and ag-grid-community: 19.0.0 will likely cause issues in your end
Is always a good idea to use the latest version as possible.
Also note that from v19, ag-grid was renamed to ag-grid-community, make sure that if you are moving from pre v19 to post v19, that you remove ag-grid from your dependencies
https://ag-grid.zendesk.com/hc/en-us/articles/360015856832-Upgrading-to-v19
Comments
0 comments
Please sign in to leave a comment.