Ag-grid License Key Example May 2026

const App = () => const columnDefs = [ field: 'athlete' , field: 'country' , field: 'gold', aggFunc: 'sum' // Enterprise aggregation ];

return ( <div className="ag-theme-alpine" style= height: 400, width: '100%' > <AgGridReact columnDefs=columnDefs rowData=rowData pivotMode=true // Enterprise only /> </div> ); ; ag-grid license key example

If the license is missing or invalid, a watermark appears. 5.1 React App.js or entry point: const App = () =&gt; const columnDefs =

const rowData = [ athlete: 'Michael Phelps', country: 'US', gold: 8 , athlete: 'Usain Bolt', country: 'Jamaica', gold: 3 ]; const App = () =&gt

import React from 'react'; import LicenseManager from 'ag-grid-enterprise'; import AgGridReact from 'ag-grid-react'; import 'ag-grid-community/styles/ag-grid.css'; import 'ag-grid-community/styles/ag-theme-alpine.css'; LicenseManager.setLicenseKey('your_license_key_here');