Installing AdapTable Angular
Summary
- AdapTable Angular is installed from a public npm Registry
Public npm Registry
This page describes how to install AdapTable Angular 18 from the public npm Registry.
Find Out More
- Read these instructions for installing the "vanilla" (Framework-agnostic) version of AdapTable
- See Previous Documentation Versions for instructions on installing older versions of AdapTable Angular
Developer Guide
Installing AdapTable Angular
To install AdapTable Angular follow these steps:
Use the npm install commmand
Note
There is no need to install the AdapTable vanilla package
For example to use Master-Detail functionality add:
Hint
Plugins reduce download size by placing less frequently used functionality outside the main download
The currently required Angular peer dependencies are:
@angular/common>= 18.0.0@angular/core>= 18.0.0
Note
The Minimum Version of Angular supported by AdapTable is 18
Install the AG Grid Angular and Enterprise packages (v.35)
If you plan to use AG Grid Charts, or AdapTable's Sparkline Columns, additionally install the AG Charts package.
const adaptableOptions: AdaptableOptions = {
licenseKey: '<ADAPTABLE_LICENSE_KEY_HERE>',
};This is done via the licenseKey property in Adaptable Options
CJS
AdapTable Angular is packaged using the standard Angular package format.
Since Angular v13 this is not available in CJS format.
This means that unlike AdapTable's Vanilla, React and Vue versions, AdapTable Angular is only available in ESM.
Hint
- You might need the CJS format or to use third party libraries that require the CJS format (e.g. Jest)
- In this use case, you will need to use some additional build tools/libraries to overcome this Angular limitation