1
votes

I used ag-grid community version for Angular without no problem, then I needed to use the "tree-grid" function of the enterprise version so I installed ag-grid-enterprise, however, I never got it to work. I got a trial key, so I don't get any errors in the console. I followed the first example here: https://www.ag-grid.com/javascript-grid-tree-data/ but the table isn't showing, it looks like this: Tree grid

I have tried install and re-install the ag-angular, ag-community and ag-enterprise, so that this is how it looks in the package.json file.

    "ag-grid-angular": "^23.0.0",
    "ag-grid-community": "^23.0.1",
    "ag-grid-enterprise": "^23.0.1",

Has anybody else experienced a similar problem when switching to enterprise version?

1

1 Answers

2
votes

Make sure in your AG Grid component, you import the enterprise edition.

import 'ag-grid-enterprise';