Expand All

  Getting Started



  Row Models




  Third Party


Github stars make projects look great. Please help, donate a star, it's free.
Read about ag-Grid's Partnership with webpack.
Get informed on releases and other ag-Grid news only - never spam.
Follow on Twitter

Set License

Set the license key via the JavaScript method as described below. ag-Grid checks the license key without making any network calls. The license key is set once for the grid library. You do not need to set the license key for each instance of ag-Grid that you create. You must set the license key before you create an instance of ag-Grid.

Note that it is crucial that you pass the key exactly as provided by ag-Grid - do not modify the key in any way.

If you are distributing your product and including ag-Grid Enterprise, we realise that your license key will be visible to others. We appreciate that this is happening and just ask that you don't advertise it. Given our product is JavaScript, there is little we can do to prevent this.


We recommend setting the license key in your main boot files (typically named either main.ts or boot.ts, before you bootstrap your application.

For example:

import {platformBrowser} from "@angular/platform-browser"; import {AppModuleNgFactory} from "../aot/app/app.module.ngfactory"; import {LicenseManager} from "ag-grid-enterprise/main"; LicenseManager.setLicenseKey("your license key"); platformBrowser().bootstrapModuleFactory(AppModuleNgFactory);