You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used following ag grid enterprise feature and set empty license key. But as per ag-grid documentation, it is not showing watermark in grid for a few seconds. License validation is display in console only.
ClientSideRowModelModule
MenuModule
ExcelExportModule
Can anyone help here? why it is not showing watermark with ag grid enterprise feature.
Code:
`import React, { useState } from "react";
import { AgGridReact } from "@ag-grid-community/react";
import { ModuleRegistry } from "@ag-grid-community/core";
import { ClientSideRowModelModule } from "@ag-grid-community/client-side-row-model";
import { MenuModule } from "@ag-grid-enterprise/menu";
import { ExcelExportModule } from "@ag-grid-enterprise/excel-export";
import {LicenseManager} from '@ag-grid-enterprise/core';
Hello,
I used following ag grid enterprise feature and set empty license key. But as per ag-grid documentation, it is not showing watermark in grid for a few seconds. License validation is display in console only.
Can anyone help here? why it is not showing watermark with ag grid enterprise feature.
Code:
`import React, { useState } from "react";
import { AgGridReact } from "@ag-grid-community/react";
import { ModuleRegistry } from "@ag-grid-community/core";
import { ClientSideRowModelModule } from "@ag-grid-community/client-side-row-model";
import { MenuModule } from "@ag-grid-enterprise/menu";
import { ExcelExportModule } from "@ag-grid-enterprise/excel-export";
import {LicenseManager} from '@ag-grid-enterprise/core';
import "@ag-grid-community/core/dist/styles/ag-grid.css";
import "@ag-grid-community/core/dist/styles/ag-theme-alpine.css";
ModuleRegistry.registerModules([
ClientSideRowModelModule,
MenuModule,
ExcelExportModule,
]);
LicenseManager.setLicenseKey('');
function App() {
const [columnDefs, setColumnDefs] = useState([
{ headerName: "Make", field: "make" },
{ headerName: "Model", field: "model" },
{ headerName: "Price", field: "price" },
]);
const [rowData, setRowData] = useState([
{ make: "Toyota", model: "Celica", price: 35000 },
{ make: "Ford", model: "Mondeo", price: 32000 },
{ make: "Porsche", model: "Boxter", price: 72000 },
{ make: "Porsche", model: "Boxter", price: 72000 },
{ make: "Porsche", model: "Boxter", price: 72000 },
{ make: "Porsche", model: "Boxter", price: 72000 },
{ make: "Porsche", model: "Boxter", price: 72000 },
{ make: "Porsche", model: "Boxter", price: 72000 },
]);
return (
<div className="ag-theme-alpine" style={{ height: 400, width: 600 }}>
<AgGridReact
columnDefs={columnDefs}
rowData={rowData}
onGridReady={(params) => params.api.sizeColumnsToFit()}
>
);
}
export default App;`
The text was updated successfully, but these errors were encountered: