Using @ag-grid-community/angular version <28 with Angular 16

1.5k Views Asked by At

Did anyone figure out a way to use @ag-grid-community/angular version prior to Ivy support (<28) with Angular 16 ? In Angular 16 they've removed the deprecated entry components and ngcc, so any version of ag-grid <28 breaks.

I've tried to monkey patch the ag-grid-community/angular package to remove the entry components reference, but it still breaks. Seems that it's happening because the package doesn't support Ivy. So I'm getting:

**Uncaught Error: Type AgGridModule does not have 'emod' property** 

The easiest fix is clearly updating to ag-grid >=28, but currently, I am looking for all possibilities.

1

There are 1 best solutions below

1
Sarun On

As per the Angular - AG Grid compatibility chart AG Grid Version Compatibility, Angular 16 needs at least AG Grid 28. So I guess it is better to upgrade.