angular - ag-grid LicenseManager causes error -
i've angular 4 webpack app ag-grid, , ok. i'm adding app.component.ts this:
import { licensemanager } "ag-grid-enterprise"; and this:
ngoninit() { licensemanager.setlicensekey("__my_license_number__"); ... } after have error: error typeerror: rownode.setaggdata not function @ aggregationstage.aggregaterownode (aggregationstage.js:66)
what i'm doing wrong? how add license?
the problem in package.json:
"ag-grid": "10.0.x", "ag-grid-angular": "10.1.x", "ag-grid-enterprise": "10.1.x" changing first line 10.1.x fixed it.
Comments
Post a Comment