Core Features

Advanced Features

React Data GridInstalling Your Licence Key

Enterprise

Validate your licence key and configure your application. See sample code and example projects to learn how to install your AG Grid Enterprise products.

You can test AG Grid Enterprise locally without a licence. To test in production, access support and remove the watermark & console warnings, request a trial licence.

Validate Your LicenceCopy Link

Paste your License Key here: Using_this_{AG_Charts_and_AG_Grid}_Enterprise_key_{AG-963284}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{AcmeCorp}_is_granted_a_{Single_Application}_Developer_License_for_the_application_{AcmeApp}_only_for_{1}_Front-End_JavaScript_developer___All_Front-End_JavaScript_developers_working_on_{AcmeApp}_need_to_be_licensed___{AcmeApp}_has_been_granted_a_Deployment_License_Add-on_for_{1}_Production_Environment___This_key_works_with_{AG_Charts_and_AG_Grid}_Enterprise_versions_released_before_{04_May_2024}____[v3]_[0102]_4F37JqkNmUUpwds1nG==WwlRFepEGJshElLJE3uKnQ6vcbwTaJF6

Configure Your ApplicationCopy Link

Add Your DependenciesCopy Link

Copy the following dependencies into your package.json:

Copydependencies: {
    "ag-grid-react": "35.1.0",
    "ag-grid-enterprise": "35.1.0"
}

Or install using npm:

Copynpm install ag-grid-react ag-grid-enterprise

Set Up Your ApplicationCopy Link

An example of how to set up your AG Grid Enterprise License Key:

Copyimport { AllEnterpriseModule } from "ag-grid-enterprise";
import { AgGridProvider, AgGridReact } from "ag-grid-react";

const modules = [AllEnterpriseModule];

function App() {
    return (
        <AgGridProvider modules={modules} licenseKey="YOUR_LICENSE_KEY">
            <AgGridReact /* ... props */ />
        </AgGridProvider>
    );
}

// For versions <35.1 use the LicenseManager and ModuleRegistry directly

// import { LicenseManager, ModuleRegistry } from "ag-grid-enterprise";
// ModuleRegistry.registerModules([AllEnterpriseModule]);
// LicenseManager.setLicenseKey("YOUR_LICENSE_KEY");
To minimise bundle size, only register the modules you want to use. See the Selecting Modules docs for more information. .
If you are using an AG Grid version before 33.0.0, please see the documentation for your version for help on installing your license key.

Seed RepositoriesCopy Link

Here are some seed code repositories to get you started:

GitHub RepoFrameworkDevelopment Environment
Create React Appreact reactCreate React App
Create Next Appreact reactNext.js
Vite - Reactreact reactVite

Next.js Copy Link

If you're using Next.js, we have a blog that details how to get you up and running, as well as how to set the license key.